High Priority – Game Art
Welcome@HighPriority.com
High Priority – Game Art
Perforce – Using Perforce with Unity3D
https://community.perforce.com/s/article/15244
Creating and Initializing a New Perforce Depot
https://youtu.be/pv4tvwghGCQ?list=PLxdnSsBqCrrGq_8ecmdE7A6KnRfbhHE4Q
To make sure Perforce understands how to to treat Unreal & Unity file types. We need to update the type map file. This is a global step, so only needed once for all perforce projects.
——————
TypeMap:
text //….js
text //….ini
text //….config
text //….cpp
text //….h
text //….c
text //….cs
text //…shader
text //….meta
text //….m
text //….mm
text //….py
text+l //….cm
text+l //….proc
text+l //….md5mesh
text+l //….md5anim
text+l //….ma
binary //….response
binary //….pdb
binary //….u
binary //….bmp
binary //….ip
binary+w //….dll
binary+w //….exe
binary+w //….lib
binary+w //….app
binary+w //….stub
binary+w //….dylib
binary+w //….ipa
binary+l //….prefab
binary+l //….mb
binary+l //….mat
binary+l //….psb
binary+l //….mp3
binary+l //….fbx
binary+l //….unity
binary+l //….asset
binary+l //….aas
binary+l //….tga
binary+l //….jpg
binary+l //….lwo
binary+l //….wav
binary+l //….ogg
binary+l //….demo
binary+l //….roq
binary+l //….doc
binary+l //….xls
binary+l //….celtx
binary+l //….pdf
binary+l //….odt
binary+l //….ods
binary+l //….ppt
binary+l //….skp
binary+l //….uasset
binary+l //….umap
binary+l //….upk
binary+l //….udk
binary+l //….ubulk
binary+lS //….dds
binary+lS //….bnk
binary+lS //….light
binary+lS //….shadow
binary+lS //….ibl
binary+lS //….bik
binary+lS //….upk
——————
!!! Restart the perforce client (and Unity/Unreal) and do a refresh in the perforce client.
Add a text file in your perforce root called .p4ignore or .p4ignore.txt or whatever you like. Perforce uses the same setup as the git ignore files. So you can use the unity gitingore file found here: https://github.com/github/gitignore/blob/master/Unity.gitignore
Note: There can only be one accepted Ignore file name..
Character rules
If deleting depots is declined or failed. Make sure all workspaces, streams and files linked to the depot are deleted/obliterated. If it still fails, use the following command to force it: p4 depot -f -d DepotName