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
- “Remove Unused Overrides” available on not loaded Scene and throws “ArgumentException: The scene is not loaded” warning
- Adaptive Probe Volume occlusion edge is calculated incorrectly when viewing probes near geometry edges
- Sampling a texture using an HLSL file throws shader errors and the code does not compile
- WebGL sends wrong value with large numbers when SendMessage function is used
- Add Behaviour dropdown has a part in which the dropdown outline is cut out when the Add Behaviour dropdown is opened
Add comment