So, I'm working in unity (new to all of this) on a udemy course designed to teach a bit about game creation and everything is going well. Then, the first time I use the "Build and Run" command from the "Build Settings" menu, it will no longer run at all. The code worked fine before this and now will not even run in Unity.
The error message is as follows:
__BadImageFormatException: Error verifying TextController:cell (): Invalid string index 70000001 at 0x0006
TextController.Update () (at Assets/TextController.cs:18)__
I'm thinking most of this is circumstantial (textcontroller:cell(), 70000001, the line of code, etc.) but I can't figure out how to get the game to run again. I've tried uninstalling/reinstalling unity, starting the game from a different state, restarting the system, running as admin, as well as trying to edit and resave the code.
The IDE (MonoDevelop) doesn't show any errors in coding (like I said it ran perfectly *before* trying to build and run). Also, a simple console based number guessing game no longer displays anything in the console when playing, even though it did before, and displays no errors. I also created a new project with just a script that prints "Hello world", still nothing displays to console.
Anyone have any suggestions? Google (and this answers forum) have proven rather unhelpful.
Other Info:
Unity 4.7.0f1
Windows 10 64-bit
MonoDevelop 4.0.1
↧