Search Issue Tracker
Fixed in 2022.1.X
Votes
0
Found in
2019.4
2020.3
2020.3.19f1
2021.1
2021.2
2022.1
Issue ID
1379489
Regression
No
UnityEngine.EventSystems.RaycasterManager is inaccessible due to its protection level
Reproduction steps:
1. Open the attached project ("1379489.zip")
2. Observe the Console window output
Expected result: No errors in the console
Actual result: error CS0122: 'RaycasterManager' is inaccessible due to its protection level being thrown
Reproducible with: 2019.4.32f1, 2020.3.23f1, 2021.1.28f1, 2021.2.3f1, 2022.1.0a15
Note:
- The BugScript.cs contains the code that produces the error (using UnityEngine.EventSystems.RaycasterManager;)
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
- Applied velocity is inconsistent when using Rigidbody AddForce() with ForceMode.VelocityChange
- Crash on AudioUtil_CUSTOM_HasAudioCallback when exiting Play Mode while the Inspector is displaying a GameObject with an empty script attached
- Scroll offset is framerate-dependent when scrolling with velocity in the Device Simulator
- "Object.FindObjectsOfType<T>() is obsolete" warning is thrown when using "Transitions Plus" asset
- [Mono] Crash on SystemNative_ReadDirR() when building for IOS/Android on a macOS machine
Resolution Note (fix version 2022.1):
Fixed with 2022.2.0a1
Exposed RaycastManager.GetRaycasters