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
- Shader warnings are thrown after building High Definition 3D template
- "EndLayoutGroup: BeginLayoutGroup must be called first" error is thrown when changing Shader Precision Model from the Build Profiles window
- White artifacts/outlines are visible in the Garden Scene when viewing at meshes from a distance
- Shader warnings "Sprite-Unlit-Default" are thrown after building 2D Platrformer Microgame Template
- [Android] HLSL shader becomes corrupted when running on an Android device
Add comment