Search Issue Tracker
Fixed in 2020.1.X
Votes
0
Found in
2020.1.0a7
2020.1.0b6
2020.2
Issue ID
1243332
Regression
Yes
"No MonoBehaviour scripts in the file" message if there is a double UTF-8 BOM in the file
How to reproduce:
1. Open user-submitted project (ClassTest.zip)
2. Select MoonTimeline.cs in the Project view
3. See the Inspector window
Expected result: the script is identified as being derived from MonoBehaviour
Actual result: 'No MonoBehaviour scripts in the file' message is shown
Reproducible with: 2020.1.0a7, 2020.1.0b8(19a110), 2020.2.0a1, 2020.2.0a7
Not reproducible with: 2017.4.40f1, 2018.4.22f1, 2019.3.13f1, 2020.1.0a6, 2020.1.0b8(726fc0), 2020.2.0a8, 2020.2.0a10
Notes:
Reimport the script if checking different versions to refresh it
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
- Errors "InvalidOperationException: Trying to use a texture (_InternalGradingLut)..." and “Render Graph Execution error” shown and Scene turns black when 16 or more Render Objects are used
- GameObjects in the Game View are rendered differently than in the Scene View when the Rendering Path is set to "Deferred" and Screen Space Shadows Renderer Feature is added
- Errors “InvalidOperationException: Trying to use a texture (_CameraDepthTexture)...” and “Render Graph Execution error” shown when selecting GameObjects with Mesh Renderer from the Hierarchy
- macOS stutters in a minimal project
- [Usability] HDRP Wizard calls for VR fixes when opening the HDRP Wizard a second time after they have already been applied and the Wizard has finished checking
Resolution Note (fix version 2020.1):
Fixed in 2020.2.0a8
Fixed in 2020.1.0b8