Search Issue Tracker
Fixed
Fixed in 2023.1.0b18
Votes
0
Found in
2023.1.0b17
Issue ID
UUM-78449
Regression
No
Crash on GameObject::IsActive when using GameObject.SetActive for an object which has been serialized as "Type mismatch"
Reproduction steps:
1. Open the attached “ReproProj” project
2. Open the “Assets/Scenes/SampleScene.unity“ Scene
3. Enter the Play Mode
Expected result: The Play Mode is entered and “MissingReferenceException” error is shown
Actual result: The Editor crashes
Reproducible with: 2023.1.0b17
Not reproducible with: 2021.3.43f1, 2022.3.43f1, 6000.0.16f1
Fixed in: 2023.1.0b18
Reproducible on: Windows 10
Not reproducible on: No other environment tested
Workaround: Reasign the GameObject which has been incorrectly serialized
First few lines of the stack trace:
{noformat}
0x00007FF8501696EC (Unity) GameObject::IsActive
0x00007FF8501649B5 (Unity) GameObject::ActivateAwakeRecursivelyInternal
0x00007FF850164883 (Unity) GameObject::ActivateAwakeRecursively
0x00007FF85016C5EF (Unity) GameObject::SetSelfActive
0x00007FF84F950E07 (Unity) GameObject_CUSTOM_SetActive_Injected
0x0000017C9DF851E5 (Mono JIT Code) (wrapper managed-to-native) UnityEngine.GameObject:SetActive_Injected (intptr,bool){noformat}
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Adaptive Performance documentation link leads to outdated package documentation when the documentation hyperlink is pressed in the Project Settings window
- After converting a Built-in project to URP render texture related errors are spammed that can lead to Game view being rendered on top of Scene view
- UI Builder slider value lags and stutters when sliding/modifying certain property values
- "Reset UI Builder Layout" functionality inconsistently changes Canva Size when "Match Game View" is enabled/disabled
- Texture Import Warnings are obscured by other Terrain Layer options in the Inspector
Add comment