Search Issue Tracker
By Design
Votes
0
Found in
5.4.0b9
Issue ID
777557
Regression
No
ExecuteInEditMode does not generate checkbox near the script
Reproduction steps:
1. Open the attached project and open scene "test"
3. Select Cube
4. Notice that cube has two scripts ("test" and "EmptyScript") which both have "ExecuteInEditMode"
5. Disable EmptyScript script by checking flag in the inspector
6. Open script "EmptyScript" and delete line 7 "Void Start(){}
7. Notice that script is not working and there is no flag near the script in gameobject Cube to enable script again
Workaround: write an empty Start() function
Actual result: can not enable/disable script.
Expected result: ExecuteInEditMode should also have a checkbox near the script, for a testing reasons it is useful to enable/disable scripts.
reproduced on: 5.4.0b9, 5.3.3p2, 5.2.4f1
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- “Remove Unused Overrides” available on not loaded Scene and throws “ArgumentException: The scene is not loaded” warning
- Adaptive Probe Volume occlusion edge is calculated incorrectly when viewing probes near geometry edges
- Sampling a texture using an HLSL file throws shader errors and the code does not compile
- "Graphics.CopyTexture called with null source texture" error when Base Camera of an Overlay Camera is removed with DX11 Graphics API and Compatibility Mode enabled
- WebGL sends wrong value with large numbers when SendMessage function is used
Add comment