i upgraded my project from unity 3.5 to Unity 4. everything is almost OK. i can run game in editor no error when playing game, but after stopping game it give me some errors about Can’t destroy Transform component. …
all references of these errors are to .CPP files like ‘GameObjectUtility.cpp Line: 1011’
i checked all of my scripts to see whether i Dispose a Transform but nothing found. all Destroy GameObject.
so i created a simple scene with just a player and no dynamic object. running game is OK but after stopping game : sometime i give no error, sometimes 2 errors, sometimes 3 errors , …
besides i just running game and do not touch any key on keyboard or mouse to move or fire, but errors keeps happening.
i do not know another way to check scripts for debug.