Search Issue Tracker
Fixed
Votes
0
Found in
5.2.2f1
Issue ID
746877
Regression
No
Unity crashes when calling FieldInfo.SetValue on an object which does not contain that field
Reproduction steps:
1. Open attached "test22" Unity project.
2. Open and play "Assets > Levels > DefaultScene" scene.
3. Click on "New Game" > "Campaign" > "Tutorial" and wait for load to finish.
Actual behavior: Unity crashes.
Additional note: "propertyField.SetValue (spawnedObject, true);" is in "Assets > Scripts > Level_Importer" script, line 189.
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- The Scene View becomes gray and "NullReferenceException" errors are thrown when attaching the Unity Editor process to RenderDoc
- Memory usage rapidly rises when changing colors in the color wheel
- Physically Based Sky's Horizon and Zenith Tint Color Selection Bars don't have immediate access to color pickers
- EmptyAdditionalLightShadowmapTexture leaks from memory when URP quality level is changed using QualitySettings.SetQualityLevel
- Referenced ScriptableObject field does not get updated and cannot be set to "None" when there are no Objects of that type
Add comment