Search Issue Tracker
Fixed in 2022.2.X
Fixed in 2020.3.X, 2021.3.X, 2022.1.X
Votes
0
Found in
2019.4
2020.3
2020.3.22f1
2021.2
2022.1
Issue ID
1382752
Regression
No
Ternary operation with implicit type conversion from byte returns incorrect value when the operation is done in WebGL build
How to reproduce:
1. Open the attached project "Webglconvertion.zip"
2. Open "SampleScene" Scene
3. Enter Play Mode
4. Observe the result
5. Switch to the WebGL platform and press “Build And Run”
6. Observe the result
Expected result: The result in both the Play Mode and the WebGL Player is -167
Actual result: The result in Player is 89 instead
Reproducible with: 2019.4.34f1, 2020.3.25f1, 2021.2.7f1, 2022.1.0b2
Note: Issue is not present in standalone Player
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
- “[Worker0] Could not generate preview image“ error when opening macOS native plugin in the Inspector with Architecture to build for set to ARM 64-bit
- [iOS] Application.absoluteURL is empty on Awake/Start when opening via deep link with Splash Screen disabled
- Crash on MemoryManager::Deallocate when rapidly calling Addressables.LoadAssetAsync
- Crash on physx::shdfnd::atomicIncrement when adjusting values on a character controller component after entering Play mode in Prefab edit mode
- [Rendering Debugger] [NewInputSystem] Debug Overlays in Play mode throws InvalidOperationException when using New Input System
Resolution Note (fix version 2022.2):
Fixed in: 2022.2.0a7
Resolution Note (fix version 2022.1):
Fixed in: 2022.1.0b16
Resolution Note (fix version 2021.3):
Fixed in: 2021.3.1f1
Resolution Note (fix version 2020.3):
Fixed in: 2020.3.34f1