Search Issue Tracker
By Design
Unknown (hidden) 2019.4.X, 2020.3.X, 2021.3.X, 2022.1.X, 2022.2.X
Votes
0
Found in
2019.4.39f1
2020.3.35f1
2021.3.4f1
2022.1.4f1
2022.2.0a16
Issue ID
UUM-7861
Regression
No
[WebGL] ExposedReference<Transform>.Resolve() is not generated correctly in WebGL
Reproduction steps:
1. Open the user’s attached project
2. Open the TestScene.unity located in \\Assets\\Scenes folder in the Project window
3. Comment out lines 64-69 in TestScript.cs Script located in \\Assets\\Scripts folder in the Project window
4. Enter Play Mode
5. Observe the text after clicking the “Test” button in the Game View
6. Exit Play Mode
7. Switch Platform to WebGL and then Build And Run the project (File > Build Settings > WebGL)
8. Observe the text after clicking the “Test” button in the WebGL Player
Expected result: “result Transform TestContainer (UnityEngine.Transform)” should be outputted
Actual result: “result Boolean False” gets outputted
Reproducible with: 2019.4.39f1, 2020.3.35f1, 2021.3.4f1, 2022.1.4f1, 2022.2.0a16
Reproducible on: Windows 10 (21H2)
Note: if the lines 64-69 in TestScript.cs Script located in \\Assets\\Scripts folder in the Project window are not commented, the issue is not present
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
- The previous element in the array is modified when assigning an Asset to a new element of AssetReferenceT
- Unity Perforce Integration: VCS Connection Active State Fails via CLI with Valid Inputs
- Joint Gizmos for anchor and connectedAnchor do not respect their defined bodies when Swap Bodies is enabled
- Project Settings window opens up with a blank details pane when the "Configure" button is clicked in the Package Manager after installing the Cloud Diagnostics package
- [UI Builder] Viewport's gizmos for Margin and Padding disappear when dragging to modify the value and the cursor leaves the Spacing section
Resolution Note:
The problem here is a weakness in the attached project that is exposed when managed code stripping is enabled. Unity is behaving as expected.