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

Package: OpenXR Plugin

-

Steps to reproduce:

  1. Create a VR template project
  2. Close the project
  3. Re-open the project
  4. 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
  1. 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

Add comment

Log in to post comment

All about bugs

View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.