Error: System.ArgumentOutOfRangeException

I have been following Virtus Learning Hub tutorials. All of my compiles work with 0 errors. I wanted to see what the game looked like outside of the viewport so i did a build and then “launched” it. I keep getting the same error over and over and have scoured the internet with no help in sight. Can anyone help me figure out what is happening?

Attached is the log.link text

I have the same problem here. At first i thought somehow windows UAC is blocking something. UAC turned off, editor is running as admin and no antivirus blocking anything, still same. I just took a look at automation scripts with errors, it seems like error occurs while launching the client. Yet i am no programmer, i might be totally wrong. Log.txt attached.

I’d be grateful for any help.

PS: Error lines at the end are exactly the same.
Version: UE 4.20.02
Plugins used are Substance and Datasmith.link text

I just had this error when launching any of my projects. I thought it might have been an error with some plugins that I recently installed so I removed them but no luck in getting rid of the error. As I only have 4.20.2 installed, I removed the engine, reinstalled it and it now works again. I’m not a programmer so I don’t really understand any of it but hopefully it helps?

I believe I have resolved this. I think it is a bug on ue4’s end. If you have disabled any of the VR stuff, then try to compile it, that is how the error will happen. As soon as I re-enabled the VR plugins then all of the compile errors went away.

The exception that is thrown when the value of an argument is outside the allowable range of values as defined by the invoked method. Indexing an empty list will always throw an exception. Use a method like Add to append the item to the end of the list, or Insert to place the item in the middle of the list somewhere, etc. You cannot index into a C# list if that offset doesn’t exist.

Typically, an ArgumentOutOfRangeException results from developer error. Instead of handling the exception in a try/catch block, you should eliminate the cause of the exception or, if the argument is returned by a method call or input by the user before being passed to the method that throws the exception, you should validate arguments before passing them to the method.