Search Issue Tracker
Fixed in 2021.1.X
Votes
0
Found in
2020.2.0b13
2021.1.0a7
Issue ID
1295122
Regression
No
[2D][Tilemap] NullReferenceException in console when grid component is disabled and palette select tool is used
[2D][Tilemap] NullReferenceException in console when grid component is disabled and palette select tool is used
When grid component is disabled and palette select tool is used, hovering cursor over scene will cause NullReferenceException error to appear in console
Repro Steps:
1. Open sample scene, obeserve Grid component in Grid gameobject is disabled
2. Open Grid Palette window and click on Selection tool
3. Hover mouse over Scene view and observe error in console
Expected result: DrawGridMarquee should not be called when Grid component is disabled, no errors in console
Actual result: DrawGridMarquee is called when Grid component is disabled resulting in errors in console
Add comment
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- [Android][BiRP] Depth processing is handled incorrectly on certain Android devices when using 2 camera's
- [APV] Cancelling Display Dialog Error is thrown after Adaptive Probe Volumes tab is open in Lighting Window
- [APV] NullReferenceException is thrown when baking Adaptive Probe Volume for a Terrain with Non-GI Contributing Tree Prototypes and multiple APV objects with different LayerMasks are present on the scene
- Hands are not recognized when using Hololens 2
- "OnTriggerExit2D" is called before "OnTriggerEnter2D" when object is destroyed immediately
Resolution Note (fix version 2021.1):
A fix for this issue will be available on Unity 2021.2.0a1 and above