Search Issue Tracker
Fixed in 4.6.X
Votes
0
Found in
4.6.0b15
Issue ID
623643
Regression
No
Setting "interactable" property in script has opposite results
To reproduce this bug:
1.Open the attached project
2.Open "Scene".
3.In the Hierarchy, select the "Button" object.
4.Make sure you have an Animator window open to watch the state transitions of the Button.
5.Press "Play" to start the scene.
6.In the Inspector, scroll down to the "NewBehaviourScript" component.
7.Toggle the "Interactable" checkbox on the NewBehaviourScript on and off multiple times.
8.Notice how when the checkbox is checked, the Animator (and Button) is in the Disabled state. Also notice how when the checkbox is unchecked, the Animator is in the Normal state.
9.Also notice how the "Button" component's "Interactable" checkbox appears to be the same as the NewBehaviourScript's checkbox.
10.If you disable the NewBehaviourScript component, and then toggle just the Button's "Interactable" checkbox, you'll notice it performs correctly.
11. Additionally, if you hover over the button after toggling the NewBehaviour script “interactable" property, that seems to trigger the button to update its transition state to the correct state
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- SystemInfo.get_graphicsDeviceName() is generating garbage GC Alloc when using Metal graphics API
- Crash on D3D12CommonShader::ApplyGpuProgram when attaching material which samples "_UnityFBInput0" to "Full Screen Pass Renderer Feature" Component
- SpeedTree meshes and objects count differs when comparing the numbers in the Player with the Editor
- Model and Prefab Preview icons are not updated after upgrading associated Materials to URP
- Game view is rendered white when viewing the Editor with HDR display and Post Proccesing is enabled on the Main Camera with 2D URP
Add comment