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
- “FocusController has unprocessed focus events.” warnings are thrown after adding iOS, tvOS or visionOS Build Profiles
- Holes and different colors appear on default Tree Materials after applying them to the Tree GameObject and undoing changes
- Error indicating that the Text Asset Importer hasn't been disposed properly is logged when switching Importer Type in a Focused Inspector
- Documentation installation shows "Install failed: Validation Failed" when installing Android Build Support module
- Error indicating that the Package Manifest Importer hasn't been disposed properly is logged when switching Importer Type in a Focused Inspector
Add comment