Search Issue Tracker
Fixed in 2018.1.X
Votes
0
Found in
2018.1.0a5
2018.1.0b5
Issue ID
994983
Regression
Yes
No warning about scripts being compiled is shown after trying to add a newly created script to a gameobject
There used to be a warning shown after trying to add a script just after creating it and while the engine was compiling all the scripts. There is no longer a warning, only an error:
"Can't add script behaviour VisualContainerAsset. The script needs to derive from MonoBehaviour"
To reproduce:
1. Open user's attached project or any other project with several scripts in it
2. Create a new script and name it
3. Right after naming it, while it's compiling, attach the script to any gameobject in the scene
4. Observe the error
Expected result: A warning occurs that script cannot be added while the compilation is in progress
Actual result: An error occurs informing that the script needs to derive from MonoBehaviour
Reproduced with: 2018.1.0a5, 2018.1.0b6
Not reproduced with: 2017.1.3p1, 2017.2.1p3, 2017.3.1f1, 2018.1.0a4
Regression started in: 2018.1.0a5
Fixed in 2018.2.0a4
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
- Building 3D Sample Scenes (URP) Project fails
- Alpha channel is disabled when Alpha Clip Threshold is set to 0
- The Physics 2D Profiler module does not display the information about processed physics in the scene when profiling the application as a Development Build
- A Script Component that has a serialized custom class is not detecting changes in the first boolean variable when entering the Play mode with the Script Components GameObject opened in the Inspector
- “SendMessage cannot be called during Awake“ warnings appear when loading a scene with “LoadSceneAsync“ if using UI Toolkit in the scene
charleryals
Jul 23, 2020 10:44
This is a great way to save money and times with creating different script writing. Get https://cartoonstimulation.com/ to play different types of online game at free!
Ashwink2
Jul 03, 2019 10:50
Only this Homepage will guide you with every steps https://deletecookieswindows10.com/ to remove web browsing cookies from your windows 10 OS search engine. Start following and learn.