Search Issue Tracker
Duplicate
Votes
0
Found in
2018.2.3f1
2018.2.4f1
Issue ID
1073362
Regression
Yes
Script doesn't find the reference to the necessary namespace after reimporting Scripts
How to reproduce
1. Download user's attached project "PhoenixPointStripdown-ScriptableObjectsBroken.zip"
2. After opening the project in the Assets folder right-click on the "Code" folder and select Reimport.
Expected result: Script does find the reference to the necessary namespace and none warning are thrown
Actual result: Console throws a bunch of warnings "No script asset for Asset. Check that the definition is in a file of the same name." will pop up.
Reproducible with: 2018.2.3f1, 2018.2.4f1, 2018.4.5f1
Not reproducible with: 2018.19f2, 2018.2.2f1
Note: Take a look at a warning "No script asset for RemoveActorEffectDef". Check that the definition is in a file of the same name." Selecting the mentioned scripts should show in the Inspector window at the top: "No MonoBehaviour scripts in the file or their name does not match the file name". Even though the filename does match the class name inside.
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
- “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
This is a duplicate of issue #1071188