Search Issue Tracker
Won't Fix
Votes
0
Found in
2018.3.7f1
2019.1.0a1
2019.2.0a1
2019.3.0a1
Issue ID
1141454
Regression
No
Null Reference Exception when creating TMP_SpriteAssets by a Custom Editor
Steps to reproduce:
1. Open the attached project "Case_1141454"
2. Navigate to Project -> Assets -> Scenes and open "TexturePack" scene
3. In the Hierarchy window Select the Child of Canvas "TexturePack"
4. In the Inspector window Click on Browser
5. Select "Emoji_Apple" folder and click "Select Folder"
6. In the Inspector Window click "Create Sprite Assets"
-- Notice the console error "NullReferenceException: Object reference not set to an instance of an object"
Expected Results: Sprite Assets move to a different folder after it is created
Actual Results: Sprite Assets are prevented from moving to a different folder by an error
Reproducible with: 2018.3.14f1, 2019.1.0f2, 2019.2.0a14, 2019.3.0a1
Notes: Clicking on the error will point to Inspector window Asset. Versions lower than 2018.3.0a10 do not support this custom editor
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- SpeedTree meshes and objects count differs when comparing the numbers in the Player with the Editor
- Model and Prefab Preview icons are not updated after upgrading associated Materials to URP
- Game view is rendered white when viewing the Editor with HDR display and Post Proccesing is enabled on the Main Camera with 2D URP
- "GetPreferedValue" returns max value when using auto-sizing
- UI Builder doesn't update the style sheet when using "Extract inline style" right-click option
Add comment