Scripts can not be loaded on import package
Hi everyone!
I have encountered a bug when importing a customized package. Every script of every gameobject of that package shows in the inspector the warning message: "The associated script can not be loaded. Please fix any compile errors and assign a valid script", despite the fact that there is no compiling errors.
I've tried moving the scripts to a different folder, reopening my project, etc... but nothing seems to work.
Does anyone have an idea? Thanks in advance and have a good day!
it's like it says. there must be an error shown in the console telling what's wrong. all the missing scripts are a result of this on a first import when unity couldn't compile them at least once
Your answer
![](https://koobas.hobune.stream/wayback/20220612111131im_/https://answers.unity.com/themes/thub/images/avi.jpg)
Follow this Question
Related Questions
Unable to add 2D PSD Importer package from Package Manager due to some invalid dependencies. 2 Answers
How do I import an energy ball correctly? Then why is Movementobject not reading in the script 0 Answers
Cursor does not contain a definition for 'lockState'/'visible' 2 Answers
Whenever i try to import any script in unity, i see same error in console window. 0 Answers