Strings in inspector field suddenly hex code after package import

I’ve been developing a small system in an empty Unity project and exported it as a package to bring over into our team project. I’ve also tested the process with another empty project beforehand and everything worked as expected.

However, when importing into our real project, all inspector fields of the imported package, which contained strings, were suddenly converted into the string representation of hex code.
So “en-US” was displayed as “656e2d5553”. The underlying fields (as shown in the debug view of the inspector) were also changed, so not only visually, but the actual data was corrupted.

Has this happened to anyone before? Maybe a bug in the package, importer or serialization system? I can’t really reproduce it with any other project, so I’m wondering what it might be.

If memory serves me correctly, its based off of how Unity stores the data.

I’ve had this happen before.

Have you: Enable Visible Meta files in Edit->Project Settings->Editor

I can’t quite say it’s a bug…but it’s a bug.

Once you update the info again, it should be fine.

I can’t remember if a Reimport All fixes the issue or not. But you can give it a try. If it does, it should “fix” the hex stuff preventing you from readding the info again.