Search Issue Tracker
Not Reproducible
Fixed in 5.5.X, 5.6.X, 2017.1.X, 2017.2.X
Votes
1
Found in
5.6.1p4
Issue ID
926826
Regression
No
[Perforce] Certain files are modified in Unity without being checked out
Steps to reproduce:
1. Set up a Perforce server. (local will do.)
2. Create a repository and copy the project to the Perforce repo.
3. Check out the project from Perforce.
4. Set up the perforce integration in Unity with the repo and make sure it's connected and working.
5. Close Unity.
6. Make sure the Assets/Resource/Internal-Halo.shader contents are the same as the attached ( note the legacy 'o.pos = mul (UNITY_MATRIX_MVP, v.vertex);' line), and checked into the Perforce repository, and NOT checked out.
7. Make sure the Assets/Resource/TrafficLightHalo.shader contents are the same as the attached and checked into the Perforce repository, and NOT checked out.
8. Also make sure ProjectSettings\GraphicsSettings.asset is the same as attached, checked into Perforce, and NOT checked out.
9. Now open the project in Unity.
10. Unity should modify Internal-Halo.shader, TrafficLightHalo.shader and GraphicsSettings.asset without checking them out from Perforce.
To confirm this, open P4V and see no files in the pending changelist.
Select Reconcile OFffline work, and the files should be visible.
Expected: Files should not be modified without perforce checking them out. Upon launch the modified files should be checked out
Actual: Files get modified, not checked out, Perforce doesn't know there were changes.
Reproduced on: 5.5.4p1, 5.6.1p4, 2017.1.0f2, 2017.2.0b2
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Icon section shows incomplete message and unusable check box in Build Profiles and Player Settings window instead of “Not applicable for this platform” for Dedicated Server Platform
- Assets are created in the Package folders when creating assets via custom buttons in the Inspector window or other windows
- “Select” windows are named differently on Windows and macOS
- [Windows] No minimum “Select” window size
- Enabling “Editor Extension Authoring” in UI Builder doesn’t dirty the document and saving with shortcut doesn’t persist the state
Add comment