Search Issue Tracker
By Design
By Design in 2023.2.X
Votes
0
Found in
2021.3.16f1
2022.2.2f1
2023.1.0a26
2023.2.0a2
Issue ID
UUM-28013
Regression
No
Conditional attribute method executing when the condition is not defined
Reproduction steps:
1. Open the “ScriptableObject Test” project
2. Open the “Assets/Scenes/New Scene.unity” Scene
3. Enter the Play Mode
4. Press the “Button” button in the Game View
Expected results: Nothing happens
Actual results: “test 3” message is displayed
Reproducible with: 2021.3.16f1, 2022.2.2f1, 2023.1.0a26, 2023.2.0a2
Could not test with: 2020.3.44f1 (com.unity.feature.2d: Package [com.unity.feature.2d@1.0.0] cannot be found)
Reproduced on: Intel MacOS 13.1
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
- Crash on GfxDeviceClient::AllocateBufferInternal when entering Play mode using Graphics.RenderPrimitives and Graphics.DrawProcedural in the scene
- Import TextMesh Pro window opens when the Text Mesh Pro Essentials and Examples are already imported when creating a new TextMesh Pro GameObject in the Hierarchy with TextMesh Pro settings reset
- Video is not rendered when the VideoPlayer GameObject is disabled and re-enabled after playback starts while using Material Override render mode
- Missing documentation page - "Sorry...that page seems to be missing" is shown on the browser when clicking the help icon on a Color Preset Library Scriptable Object
- Selection outline is not shown when selecting a high intensity HDR Swatch preset in Color Picker
Resolution Note:
The desired behavior can be achieved by having the OnClick() event call a wrapper function that calls the conditional attribute method.
Resolution Note (2023.2.X):
The desired behavior can be achieved by having the OnClick() event call a wrapper function that calls the conditional attribute method.