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
- [iOS]"The destination host has an erroneous SSL certificate" error is thrown when using UnityWebRequest to connect to the server with a self-signed certificate
- Freeze/crash on DynamicHeapAllocator::Allocate when opening a specific project
- Text Settings Inspector sections names have no padding
- UI elements shrinking, misaligned buttons, swapped icons, or incorrect styles when rapidly cycling through Scenes in the Player
- Text field does not disappear if Ctrl+Z is pressed while editing in Viewport
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.