Search Issue Tracker
Fixed in 2018.3.X
Votes
0
Found in
2018.2.3f1
Issue ID
1070400
Regression
No
An error is shown in the Inspector when a class is inside a namespace and there isn't a whitespace after the name of the class
Repro steps:
1. Open QA attached project "repro_1070400"
2. Select script "TestScript" in the Project Window
3. Observe the Inspector
4. Select script "TestScript2" in the Project Window
5. Observe the Inspector and notice the error
Expected: No errors are shown in the Inspector with both scripts
Actual: The script "TestScript2" produces an error: "No MonoBehavior scripts in the file, or their names do not match the file name"
Reproducible with: 2017.4.9f1, 2018.1.9f1, 2018.2.4f1, 2018.3.0a9
Notes:
- The only difference between the two scripts is the whitespace after the class name
Fixed in: 2018.3.0a9
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- "System.Net.CookieContainer" throws an "ArgumentException" error when using a non-UTF-8 machine locale and hostname
- Crash on ModelImporter::ImportSkinnedMesh when disabling "Strip Bones" on a specific FBX model
- WebGL Development builds ignore the "Compression Format" setting when using "Gzip" compression
- [tvOS] Project crashes on startup on Apple TV simulator (both X86_64 and ARM64 architectures)
- Context menus open on a different monitor when there are three monitors used
Add comment