Search Issue Tracker
Won't Fix
Votes
0
Found in [Package]
3.2.17
Issue ID
1292206
Regression
No
[XR SDK] Unity crashes when modifying script in Update() method
Reproduction steps:
1. Open the attached project ("towerdefensevr.zip")
2. Open the "LevelTest" scene
3. Enter Play mode
4. Open Project window and open "HandDisplay.cs" script
5. Add empty comment to the Update() method
6. Return to the Editor to recompile
Expected result: Editor continues to Play
Actual result: Editor crashes (see "klEmAE1Q8d.mp4" video)
Reproducible with: XR SDK 3.2.17, 4.0.0-pre.3 (2019.4.18f1, 2020.2.2f1, 2021.1.0b3, 2021.2.0a2)
Could not test with: 2018.4.31f1 (XR SDK not available)
Tested:
- Oculus Rift S
Workaround:
- Disable script changes recompile while playing in Preferences -- Stop Playing And Recompile.
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
- [Happy Harvest] #ThunderLabel text is "\u26C8" instead of "⛈"
- Warning “New Sprite Atlas: There is a mismatch in secondary textures of sprites compared to WhiteUnit, wasting texture space and potentially break draw call batching. Affected Sprites are (Flag)“ is thrown when packing Atlas with Sprite Atlas V2
- Sprite Editor dropdown text is cut-off for options with longer text
- Sprite Editor can't be scrolled horizontally using the trackpad gesture
- BRG picking skips BatchDrawCommandProcedural when selecting the GameObject in the scene
Resolution Note:
This is an Oculus bug, not Unity. Please report it to Oculus for proper fix to handle domain reload.