- Home /
Weird compiler error code
Anyone have seen this error before? classID >= ms_MaxClassID || classID < 0
When I run the game, I dont see any errors in runtime, but the compiler still shows the error. What causes this error?
YEAH!!! that happens to me a lot! i dont really know what it means, but it happens often. i think it means the computer didn't understand something, maybe a transform, maybe a variable, maybe a function, maybe an animation... i dont know.
I just got it too and when I clicked on it my windows explorer opened up to the Folder where I can see "Assets" "Library" and "Temp" ??
but when I told it to save the scene again it stopped co$$anonymous$$g up.
Answer by Justin 3 · Apr 05, 2011 at 09:49 PM
My group had this issue for over 8 builds and we still didn't know where it was originating from until we deleted all of our scripts. The problem was that a variable passed into a function was data-typed wrong. We accidentally used the function OnControllerColliderHit() and passed in the variable hit which was data-typed to Collider. The problem is that it was supposed to be data-typed to ControllerColliderHit.
The function is probably different, but your issue is probably similar.