Unity Issue Tracker - Perforce serializes Prefabs with the "CLRF" line feed when pulling the project
Closed
UUM-57048
Perforce serializes Prefabs with the "CLRF" line feed when pulling the project
Unity: Version Control
Won't Fix
6.5.X
6.4.X
6.3.X
6.2.X
6.1.X
6.0.X
2023.3.X
2023.2.X
2022.3.X
2021.3.X
Cancelling: the 6000.1 version has reached its end of life. If you need additional fixes, please upgrade to a newer Unity version.
Cancelling port since 2023.3 is an unsupported version, 2023.3 became 6000.0 and it has a port already opened for it
Cancelling port since 2023.2 is an unsupported version
How to reproduce:
1. Create a new project with any template
2. Change Version Control Mode to “Perforce” (Edit > Project Settings > Version Control)
3. Setup and connect to a Perforce VCS server
4. Create a new Cube GameObject (GameObject > 3D Object > Cube)
5. Save the GameObject as a Prefab
6. Check Out and Submit all the changes (Edit > Project Settings > Version Control > “Check Out”)
7. Pull the project into a different folder
8. Open the “Cube.prefab” Asset in a text editor program
9. Observe the line feed characters
Expected result: The line feed characters are in UNIX-like style - “LF”
Actual result: The line feed characters are in Windows-like style - “CLRF”