Wayback Machinekoobas.hobune.stream
May JUN Jul
Previous capture 12 Next capture
2021 2022 2023
1 capture
12 Jun 22 - 12 Jun 22
sparklines
Close Help
  • Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
  • Asset Store
  • Get Unity

UNITY ACCOUNT

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account
  • Blog
  • Forums
  • Answers
  • Evangelists
  • User Groups
  • Beta Program
  • Advisory Panel

Navigation

  • Home
  • Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
    • Blog
    • Forums
    • Answers
    • Evangelists
    • User Groups
    • Beta Program
    • Advisory Panel

Unity account

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account

Language

  • Chinese
  • Spanish
  • Japanese
  • Korean
  • Portuguese
  • Ask a question
  • Spaces
    • Default
    • Help Room
    • META
    • Moderators
    • Topics
    • Questions
    • Users
    • Badges
  • Home /
avatar image
0
Question by Xarbrough · Nov 03, 2016 at 09:55 PM · bug-perhaps

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.

Comment
Add comment
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users

1 Reply

· Add your reply
  • Sort: 
avatar image
0

Answer by Cynikal · Nov 03, 2016 at 11:08 PM

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.

Comment
Add comment · Show 2 · Share
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image Xarbrough · Nov 03, 2016 at 11:46 PM 0
Share

Good info, thanks. Too bad, I tried to reproduce the issue by deleting the files and importing the package again, but then it all worked fine. So probably a bug, but it ain't a real one if it doesn't happen again.

avatar image Xarbrough · Nov 04, 2016 at 07:31 PM 0
Share

The issue seems to happen because my package was exported from a project where Asset Serialization was set to mixed, while the project where the package is being imported has Force Text turned on. It looks like the conversion doesn't happen correctly. I'd report a bug, but I'm still struggling to reproduce it with all fields. For now it only happens on some, whereas others still work.

Your answer

Hint: You can notify a user about this post by typing @username

Up to 2 attachments (including images) can be used with a maximum of 524.3 kB each and 1.0 MB total.

Follow this Question

Answers Answers and Comments

58 People are following this question.

avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image

Related Questions

Orthello2D sprites "lose" spriteIndex after testplaying 0 Answers

HDR spheremap not appearing in scene 0 Answers

Mouse Wrapping Near Edge of Play Space 0 Answers

Call an exorcist. 1 Answer

Unity Line Renderer drawing extra line to another point.. 0 Answers


Enterprise
Social Q&A

Social
Subscribe on YouTube social-youtube Follow on LinkedIn social-linkedin Follow on Twitter social-twitter Follow on Facebook social-facebook Follow on Instagram social-instagram

Footer

  • Purchase
    • Products
    • Subscription
    • Asset Store
    • Unity Gear
    • Resellers
  • Education
    • Students
    • Educators
    • Certification
    • Learn
    • Center of Excellence
  • Download
    • Unity
    • Beta Program
  • Unity Labs
    • Labs
    • Publications
  • Resources
    • Learn platform
    • Community
    • Documentation
    • Unity QA
    • FAQ
    • Services Status
    • Connect
  • About Unity
    • About Us
    • Blog
    • Events
    • Careers
    • Contact
    • Press
    • Partners
    • Affiliates
    • Security
Copyright © 2020 Unity Technologies
  • Legal
  • Privacy Policy
  • Cookies
  • Do Not Sell My Personal Information
  • Cookies Settings
"Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
  • Anonymous
  • Sign in
  • Create
  • Ask a question
  • Spaces
  • Default
  • Help Room
  • META
  • Moderators
  • Explore
  • Topics
  • Questions
  • Users
  • Badges