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
- [Mobile] Developer Console does not appear when an error is thrown
- [HDRP] Game view renders artifacts when Camera's Component "Post Anti-aliasing" is set to "TAA" and Dynamic Resolution's "Forced Screen Percentage" is changed
- A deactivated Prefab's name color becomes white when a GameObject in the scene is deactivated
- The Game view becomes blank when using Frame Debugger with MSAA and Texture binding enabled in Play Mode
- NullReferenceException is thrown when changing the Inspector preview selection
Add comment