Search Issue Tracker
Won't Fix
Votes
1
Found in
2019.1.0a1
2019.1.8f1
2019.2.0a1
2019.3.0a1
Issue ID
1167006
Regression
No
Previously protected Selectables methods still can't be accessed due to their protection level
How to reproduce:
1. Open the attached project named Case_1167006
2. Open the "Test.cs" and uncomment the code
3. Observe the .IsHighlighted() method
Expected result: Method can be accessed
Actual result: Method can't be accessed due to its protection level
Reproducible with: 2019.1.0a1, 2019.1.12f1, 2019.2.0b10, 2019.3.0a10
Does not reproduce with: 2017.4.30f1, 2018.4.5f1(Methods were stated as protected, so they couldn't be accesed by design)
Notes:
1. Methods that are affected: Selectables.IsHighlighted and Selectables.IsPressed
2. The 2018.4 documentation states that these methods are protected, so it is expected that they can't be accessed from outside Selectables class
https://docs.unity3d.com/2018.4/Documentation/ScriptReference/UI.Selectable.html
3. The 2019.1 documentation states that these methods are public, so it should be possible to access them.
https://docs.unity3d.com/ScriptReference/UI.Selectable.html
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
- Editor crashes on StoredGraphicsBuffer::GetGfxBufferID when VFX Graph property is modified during Play Mode and Application.targetFrameRate is used to limit FPS
- Crash on NVAPI_Thunk when changing Player resolution while HDR display is used and Direct3D12 is set as the graphics API
- Only one out of multiple cameras is shown in the Play Mode while HDR display is used and Direct3D12 is set as the graphics API
- The "Paste Component as New" option is incorrectly displayed as active despite the action being prohibited
- "TLS Allocator ALLOC_TEMP_TLS" errors are thrown when unsuccessfully importing an FBX file
Resolution Note (2019.3.X):
low priority for the moment, unlikely to be fixed for the immediate future.