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
- Find prefab components in scene is broken in new hierarchy
- Number "0" is not visible in Unity Documentation page button tooltips
- Selected Korean input text in UIToolkit TextField is not fully replaced when refocusing and entering new input
- [UITK Controls] Non text InputField can't be reset by API
- Control Scheme name field has no character limit, causing “Add Control Scheme” window to expand if name is too long
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