I just started using Unity and created an empty project… when I try to “Play” it I get the following error:
NullReferenceException: Object reference not set to an instance of an object
UnityEditor.GridPaintingState.UnregisterPainterInterest (UnityEngine.Object painter) (at C:/buildslave/unity/build/Modules/TilemapEditor/Editor/Managed/Grid/GridPaintingState.cs:197)
UnityEditor.GridPaintPaletteWindow.OnDisable () (at C:/buildslave/unity/build/Modules/TilemapEditor/Editor/Managed/Grid/GridPaintPaletteWindow.cs:565)
This only happens if I have the “Tile Palette” window open. Any idea what’s causing it?
I’m getting the same error but it doesn’t seem to cause any issues that I’ve found so far (other than an annoying error msg).
It would be nice to know what’s causing it and fix it though…
If you found a bug in Unity, it’s recommended to submit a bug-report following the advice given in this document.
Using the bug-reporter seems to be an important step, because it makes sure the report is in Unity Technologies bug-tracking pipeline, has to be processed at some point and you can kind of track if it’s fixed. Using the forum is often used to add to a little more attention to a bug-report, but does not replace submitting the bug-report.
It’s from advantage to attach a project to the bug-report that UT can use to reproduce the issue and test their fix against. Attaching a video to the bug-report that shows how to reproduce the issue and the issue itself, has been proven useful too.
The easier an issue can be reproduced by QA, the more likely it is to get forwarded to a developer, who might or might not work on a bug-fix for that at some point.
After you submitted the bug-report, you receive a confirmation email with a Case number. UT often asks us to post the Case number in the forum thread, which allows them to find that bug-report if they look at your post.
Following these steps will increase the chance that UT is looking at your issue tremendously.
Same in an empty project, since i used a tilemap in a previos project. Don’t seems to be a real problem, but it would be better to not have this red line at the bottom
Seems to be a common problem. Confused the hell outta my students this weekend. People kept coming up telling me about the error and thinking they had broken their game.
This a common editor window error. From my experience, the error will normally come out if the project I now open don’t have the editor window script I open from last project, but it not going to affect anything.