Search Issue Tracker
Duplicate
Votes
0
Found in [Package]
1.16.0-pre.1
Issue ID
OXRB-624
Regression
No
Getting "The name 'Unsafe' does not exist in the current context" errors when building after reopening a VR template project
Steps to reproduce:
- Create a VR template project
- Close the project
- Re-open the project
- Try building the project
\\
Actual results: getting multiple errors in the console:
"Library/PackageCache/com.unity.burst@1.8.24/Runtime/SharedStatic.cs(32,28): error CS0103: The name 'Unsafe' does not exist in the current context"
Unable to build
Expected results: project gets build after restart
\\
Reproducible with versions:
6.1.3:
2022.3.36f1, 2022.3.65f1, 2022.3.66f1
Not reproducible with versions:
5.0.1:
2021.3.55f1
9.1.1:
6000.0.56f1, 6000.1.16f1, 6000.2.2f1, 6000.3.0a5
\\
Tested on (OS):
MacBook Pro M1 MacOS Sequoia 15.6
\\
Notes:
- Building project the first time its opened, before any restarts, build succeeds
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
- Mono Windows Builds don't produce full log callstacks when generating logs
- AssetBundles fail to load when running in Built Players for Mobile Devices
- UI elements with text gets bigger and grey when Player window is moved to another screen with different resolution
- System name accepts multiline text but crops it on confirmation, duplicates input, and shrinks the field when empty
- UI element scale and position are wrong in project build when DRS is changed with HDR and Software Dynamic Resolution enabled
Resolution Note:
null
Duplicate of another internal issue: XRMB-123: "The referenced script on this Behaviour (Game Object '<null>') is missing!" warnings are thrown when entering Play Mode