Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Grid Information Serialization NullReferenceException #382

Open
BruceZoom opened this issue Sep 15, 2024 · 3 comments
Open

Grid Information Serialization NullReferenceException #382

BruceZoom opened this issue Sep 15, 2024 · 3 comments

Comments

@BruceZoom
Copy link

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.
image
The line below is the code causing the problem.
image
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
Copy link
Collaborator

Sorry about this issue! We will take a look at this!

@ChuanXin-Unity
Copy link
Collaborator

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:

@BruceZoom
Copy link
Author

Thank you for fixing it! It stops throwing error messages.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants