Search Issue Tracker
Not Reproducible
Votes
0
Found in
2017.4
2018.4
2018.4.6f1
2019.2
2019.3
2020.1
Issue ID
1183735
Regression
No
Game Objects instantiated from Asset Bundles don't retain serialized values
Repro steps:
1. Open attached project and make sure build target is Android
2. Close Unity, adjust build.sh in the project's folder to appropriate Unity directory
3. Delete the bundles in Test folder and then run the build.sh script to build new ones
4. Open the project and Enter Play Mode
5. Observe the second "ShopArenaOfferView(Clone)" and "AnimatedClock" Game Objects in the scene
6. Look at the Transform component's Rotations values in the Inspector
Expected: The component has the values that were serialized in bleh.patch
Actual: The component has random values assigned
7. You can exit and re-enter Play Mode to see different values every time
Reproducible with: 2017.4.33f1, 2018.4.11f1, 2019.2.10f1, 2019.3.0b7, 2020.1.0a9
Add comment
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Out-of-bounds memory access with multiple CanvasRenderers under a Canvas when using Mesh API
- Inspector tries to access file after it was deleted when the file was locked in Inspector window
- Changing Transform values in Search window Inspector loses focus while dragging and stopping mouse without releasing dragging action
- Saving changes on the dirty VFX Graph during the Play mode throws "The referenced script (Unknown) on this Behaviour is missing!" warnings
- VFX Graph Debug Info overlaps the "Initialize" block debug info by default
Resolution Note:
Ran WebExtract & Binary2Text on the built bundles. All transform components have 100% identical values between the two provided bundles. Rotation values are Quaternions and the editor converts those to Euler angles when displayed in the editor. This conversion process is subject to rounding issues and uses a hint field to reduce this problem in the editor. This hint field does not exist in runtime data an is uninitiaized. Thus the Quaternions to Euler conversion is inconsistent clone to clone due to this. If you switch the inspector into debug view, this shows the raw Quaternion values as (0, 0, 0, 1) across all clones.