Search Issue Tracker
Fixed in 2018.1.X
Votes
1
Found in
2018.1.0a5
2018.1.0b13
Issue ID
1025374
Regression
Yes
[2018.1] 'Can't add script behaviour VisualContainerAsset' error when adding script to GO with mismatched file and class name
Reproduction steps:
1. Create a new script.
2. Change the filename of that script.
3. Add script to an object in the scene.
Expected error message: "Can't add script component 'NewBehaviourScript' because the script class cannot be found. Make sure that there are no compile errors and that the file name and class name match."
Actual error message: "Can't add script behaviour VisualContainerAsset. The script needs to derive from MonoBehaviour!"
Reproduced: 2018.1.0a5, 2018.1.0f1
Not reproducible: 2017.1.3p1, 2017.2.1p3, 2017.3.1f1, 2018.1.0a4, 2018.2.0b1
Comments (24)
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
- Shader warnings are thrown when deleting blocks in the Ribbon VFX Graph
- Shadow casters are not rendered when deploying builds in specific Unity 6.0 versions
- Automatically unfocuses when focusing and DropdownField is open
- Debug Draw Mode stops rendering GameObjects when GPU Resident Drawer is enabled
- Only a single Selector is added to a Container when drag and dropping multiple of them on an Element in UI Builder
unity_9pgdhjuW9U-fNA
Jul 24, 2020 11:19
Thanks for sharing such a fantastic blog. Since the last few weeks, I am not finding your blogs that disappoint me a lot, as I love reading your posts. This article is something really attractive, and I’m waiting for your new ideas as well. Hope to see your next blog as soon as possible. https://mazeministry.com/best-anime-websites-kissanime/
unity_9pgdhjuW9U-fNA
Jul 24, 2020 11:18
I feel so lucky because I have a blogger like you that provides refreshing ideas depending on the daily situation. To be very honest, your blogs are easy to read and understand. Good luck with your future articles as well. [url=https://buzznor.com/azpeople-login/]autozoner[/url]
unity_9pgdhjuW9U-fNA
Jul 24, 2020 11:16
Thanks for this article that is really engaging. Sometimes you use real-life examples in your articles that are perfect for me as a reader, but unfortunately, sometimes I didn’t get your point in the post. It seems fake or irrelevant. Well, it’s a good one. <a href="https://getacoupons.com/coupon-store/adornmonde/">adornmonde coupon</a>
joeh48838
Jul 20, 2020 10:11
Hey guys I hope you work very well you guys article is such a amazing and good and your ideas is really amazing good job guys.<a href="https://101worth.com/140/swingvillage/">swingvillage</a>
unity_9pgdhjuW9U-fNA
Jul 03, 2020 09:56
You are using excellent strategy in your Blogs that are helping everyone, and you’re also attracting others. You made a good one. It took 20 minutes while reading this article, as it includes many new and unique ideas that every reader wants in the piece they read. It's excellent content that no one will leave without reading the complete one. <a href="https://99tech.co.uk/gogoanime/">gogoanime</a>
nadalwillson20
Jun 01, 2020 11:45
I should say only that its awesome! The blog is informational and always produce amazing things https://www.nycjackets.com/
AshleyRLawton
May 28, 2020 09:34
Great job you did as I saw your new blog which gives positive feelings and encourages me in my future steps. Thanks for uploading this detailed post. This blog is easy to capture subscribers and attract the reader. I am feeling proud to be your subscriber; your post is so amazing. Keep it up.
https://getacoupons.com/coupon-store/biffi/
waheedsheikhmarketing
May 18, 2020 21:25
I came here for the first time and I am glad that I visit your page. Thankyou for sharing your knowledge with us. Good luck for future.<a href="https://apkmediatrend.com/8-ball-pool-mod-apk/">8 ball pool hack apk download</a>
ameliajack31
May 18, 2020 15:08
I have read your article, it is very informative and helpful for me. <a href="https://socialmagz.com/anilinkz/">anilinkz</a>
I admire the valuable information you offer in your articles. Thanks for posting it..
techpixlswork
May 18, 2020 12:41
watch online web-sereis on one click https://techtida.com/2020-alternatives-for-couchtuner/