Silicon Valley” star T.J. Miller has joined the cast of Steven Spielberg’s “Ready Player One” for Warner Bros. and Village Roadshow.

Miller joins a cast that includes Tye Sheridan, Olivia Cooke, Simon Pegg, Ben Mendelsohn and Mark Rylance in the virtual universe Oasis, created in the 2011 novel by Ernest Cline. In the story, set in the year 2044, humans have come to prefer Oasis to the real world.

Sheridan plays the lead as a teen in a treasure hunt against ruthless foes after the founder of the  game dies and offers his fortune as the grand prize. Miller will play an annoying troller in the online forums.

Spielberg is directing with shooting expected to start later this month. Producers of “Ready Player One” are Spielberg through his Amblin Partners, Donald De Line, Kristie Macosko Krieger and Dan Farah.

Miller stars as Erlich Bachman in HBO’s “Silicon Valley.” His feature credits include “Deadpool,” “Transformers: Age of Extinction” and the upcoming “Office Christmas Party.”

Miller is repped by CAA, 3 Arts Entertainment, Jackoway Tyerman.