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
- Terms of Service agreement checkbox is invisible under specific OS system themes (UI Accessibility)
- Tile Palette: "Create New Tilemap" dropdown area is displayed in several colors
- Input.mousePosition stops syncing to touch input when using "DownloadHandlerTexture" in WebGL build
- UI Builder canvas doesn't update element styling accordingly when changing Active Theme for some Editor Authoring elements
- Selector Value buttons are not aligned with parameters in UI Builder
Add comment