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 Graph Asset icon is not shown on creation unless you confirm the name
- APV Sky occlusion doesn't consider the terrain
- [iOS] "EXC_BAD_ACCESS" Player crash when Script Debugging is enabled
- Cursor skips input fields when tabbing between two sets of input fields
- "Shader error redefinition of 'Varyings'" error appears when selecting the shader
Add comment