###### tags: `Unity Error` [toc] # Unity collapse --- # 換場物件變暗 [換場物件變暗](https://forum.unity.com/threads/cant-switch-on-auto-generate-lighting.1193119/) --- # visual studio intellicode can't work [visual studio intellicode can't work](https://stackoverflow.com/questions/42597501/unity-scripts-edited-in-visual-studio-dont-provide-autocomplete/56629318#56629318) --- # 錯誤資訊 - <span style="color:red;"> Assertion failed on expression: 'm_GameObjects.find(gameObject.GetInstanceID()) == m_GameObjects.end()' UnityEngine.StackTraceUtility:ExtractStackTrace ()</span> **解決辦法:** 把hierarchy有隱藏的object打開。 - There are 2 event systems in the scene. Please ensure there is always exactly one event system in the scene **解決辦法:** 通常有兩個UI以上存在就會有此警告。