Search Unity

Invalid Operation Exception Not telling me line of code to fix

Discussion in 'Scripting' started by GoodNight9, Nov 25, 2015.

  1. GoodNight9

    GoodNight9

    Joined:
    Dec 29, 2013
    Posts:
    123


    Hello again!

    I am getting this error, however it's a bit odd. It doesn't seem to actually do anything wrong to my game. But it does bother me seeing it in the console.

    It seems to tell me there is something wrong in 'Nullable.cs' but that's not a script I made. I'm assuming it's something built into Unity. Is there any way for me to figure out how to begin finding where to start looking for a solution?

    Thank you again for your time!
     
  2. Kiwasi

    Kiwasi

    Joined:
    Dec 5, 2013
    Posts:
    16,860
    Sometimes you can cause an error earlier in the stack that doesn't show up until later. You want to drop down to the next line in the stack trace. Which would be line 333 in ST_Turret.