Search Unity

  1. How has 2019.2 and the beta been for you so far? Give us feedback in this thread.
    Dismiss Notice

LightmapSnapshot.asset detected as text by Perforce, but it's binary

Discussion in 'Unity 5 Pre-order Beta' started by chrismarch, Feb 27, 2015.

  1. chrismarch

    chrismarch

    Joined:
    Jul 24, 2013
    Posts:
    318
    Every time someone on my team bakes the lighting (realtime GI or baked) for their scene and checks in their files, Perforce incorrectly flags LightmapSnapshot.asset as a text file, and then other team members can't load it. This doesn't happen with other files, like the SkyProabe-0.exr, which is flagged as binary. Any idea how we can avoid having to redo the initial check-ins of LightmapSnapshot.asset by having it be detected as binary in the first place?

    We are using visible meta files, and Asset Serialization Force Text
     
  2. Anozireth

    Anozireth

    Joined:
    Feb 7, 2013
    Posts:
    71
    We also use Perforce with Asset Serialization set to Force Text. My LightmapSnapshot.asset got checked in as a binary file without me needing to do anything special. When I try to open it in a text editor, it's not human-readable like a prefab or scene file is. There must be a Perforce setting for this, but I'm not an administrator so I can't easily check.
     
    chrismarch likes this.
  3. chrismarch

    chrismarch

    Joined:
    Jul 24, 2013
    Posts:
    318