Search Issue Tracker
Fixed in 2017.3.0f3
Postponed in 5.6.X, 2017.1.X, 2017.2.X
Votes
0
Found in
5.5.2p1
Issue ID
927189
Regression
Yes
Scripts break with Unix/Mac/LF style line endings
Steps to reproduce:
1. Open user attached project (test)
2. Make sure the Inspector and the Project view are visible.
3. In the Project View, highlight TestScript1. (This file has CRLF line endings.)
4. Note that there are 6 gameObject slots visible in the inspector.
5. In the Project View, highlight TestScript2. (This file has a single LF line ending.)
6. Note that the inspector says 'No MonoBehaviour scripts in the file, or their names do not match the filename'.
7. In the Project View, highlight TestScript3. (This file has all LF line endings.)
8. Note that the inspector says 'No MonoBehaviour scripts in the file, or their names do not match the filename'.
Expected result: all three files should work correctly, all 6 Game Object slots should be visible in the inspector.
Reproduced in: 2017.2.0b2, 2017.1.0f3, 5.6.1p4, 5.5.0a6
Not reproduced in: 5.4.5p4, 5.3.8f2
Regression since: 5.5.0a6
Fixed in: 2017.3.0a1
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- SearchExpression strips quotes
- dSYM file is not created during macOS standalone build
- Project Settings panels disappear and do not repaint when entering Play Mode without reloading Domain
- Screen Space Decals ignore Rendering Layer Mask when using OpenGL Graphics API
- Crash on scripting_method_invoke when the Player is build before entering the Play mode in the Editor
Add comment