Grid Information Serialization NullReferenceException
Opened this issue · 3 comments
BruceZoom commented
I attached a GridInformation component to the tilemap and made the tilemap into a prefab.
But the following error message pops up whenever I modify the prefab and Unity tries to serialize it.
The line below is the code causing the problem.
Not sure how to fix it nor whether it will cause some problems.
I am using Unity 2022.3.20f1 and 2D Tilemap Extras 3.1.2.
ChuanXin-Unity commented
Sorry about this issue! We will take a look at this!
ChuanXin-Unity commented
I have added a fix for this issue for review in the next version of the package.
In the meantime, you can get the fix by doing the following:
- From your Unity Project, open the Package Manager from the menu item Window/Package Manager
- In the Package Manager window, click on the + button on the top left corner and select "Install package from git URL"
- Enter the following URL in the text box: "https://github.com/Unity-Technologies/2d-extras.git#2022.1/giserialize" or "https://github.com/Unity-Technologies/2d-extras.git#package_2022.1" once the fix is confirmed.
BruceZoom commented
Thank you for fixing it! It stops throwing error messages.