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
- Articulation Body with 'Revolute' Joint Type has erratic behavior when Upper Limit is set to above 360
- WebGL Player fails to render Scene when Terrain with Detail Mesh is added and WebGPU Graphics API is used
- Inconsistent errors are logged when different types are passed into the Query "Q<>" method in UIToolkit and the ancestor VisualElement is null
- Crash on GetMaterialPropertyByIndex when opening a specific Scene
- Discrepancies in the styling are present when using a TSS file instead of a USS file in custom EditorWindow
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.