Using ue5.1 projects with perforce source control and no one is able to revert levels from the editor.
Recreation steps from a project with perforce source control setup all in editor:
- create a new level and mark for add or check out an existing level (neither open in editor)
- from source control select revert
- Files remain either marked for add (new level) or checked out
- LogSourceControl: Warning: This operation could not complete on the following map or external packages, please unload them before retrying : /Game/Assets/perforce_test
The level is not open so I don’t understand why it is asking to unload the level
Maybe there is something that needs to be configured in ue5.1 that differs from previous versions?
Some other things tried while trouble shooting this:
- reverting from the p4v app works as expected
- Created a new project with ue5.0.3. Following the same steps above revert works as expected. Updated the project to ue5.1 and no longer able to revert levels.
- Testing random other assets in ue5.1 like materials, BPs, and revert works as expected
- This is a perforce sever / depot that has been in use for several years with multiple 4.x and 5.0.3 projects with perforce revert working as expected.