Search Issue Tracker
Fixed in 2020.2.X
Votes
0
Found in
2017.4
2018.4.13f1
2020.1
Issue ID
1210118
Regression
No
Graphic Raycaster Blocking Mask is accessible through the Inspector but not through script as its access modifier is "protected"
Reproduction steps:
1. Create a new project
2. Attach Graphic Raycaster component to any GameObject
3. Ensure that "Blocking Mask" can be accessed and changed in the Inspector
4. Create a new script and attach it to the said GameObject
5. Attempt to access GraphicRaycaster.m_blockingMask through script
Expected result: GraphicRaycaster.m_blockingMask can be accessed
Actual result: GraphicRaycaster.m_blockingMask cannot be accessed due to its "protected" access modifier
Reproduced in: 2017.4.36f1, 2018.4.16f1, 2019.2.19f1, 2019.3.0f6, 2020.1.0a20
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
- “[Worker0] Could not generate preview image“ error when opening macOS native plugin in the Inspector with Architecture to build for set to ARM 64-bit
- [iOS] Application.absoluteURL is empty on Awake/Start when opening via deep link with Splash Screen disabled
- Crash on MemoryManager::Deallocate when rapidly calling Addressables.LoadAssetAsync
- Crash on physx::shdfnd::atomicIncrement when adjusting values on a character controller component after entering Play mode in Prefab edit mode
- [Rendering Debugger] [NewInputSystem] Debug Overlays in Play mode throws InvalidOperationException when using New Input System
Resolution Note (fix version 2020.2):
Fixed in 2020.2.0a11
Implemented Getter and Setter for Blocking Mask property, so that it can be accessed through script.