Search Unity

  1. Megacity Metro Demo now available. Download now.
    Dismiss Notice
  2. Unity support for visionOS is now available. Learn more in our blog post.
    Dismiss Notice

CRC stability issues (VideoClip m_OriginalPath)

Discussion in 'Asset Bundles' started by Pe1man, May 8, 2019.

  1. Pe1man

    Pe1man

    Joined:
    Jan 10, 2016
    Posts:
    18
    Hello. I've encountered an unwanted behaviour (most probably a unity bug) when building a bundle containing a VideoClip. If such bundle is built on different machines or on different copies of project the outcoming CRC is different for each of them. Unpacking the bundle shows that it contains only 1 difference:

    m_OriginalPath "D:/UnityProjects/CRC_2019_1/Assets/PreEnding.mp4" (string)
    vs
    m_OriginalPath "D:/UnityProjects/CRC_2019_2/Assets/PreEnding.mp4" (string)

    Absolute paths make it impossible to use CRC for "version control" of a bundle.

    I've tested it on 2018.3.2f1, 2018.3.7f1, 2019.1.1f1 - all of them have this issue on both Mac and Windows.

    Is there any way to "hack" the VideoClip originalPath to make CRC stable when using different machines?
     
    Last edited: May 8, 2019
  2. Ryanc_unity

    Ryanc_unity

    Unity Technologies

    Joined:
    Jul 22, 2015
    Posts:
    332
    Please file a bug with the Video team about this issue.
     
  3. Pe1man

    Pe1man

    Joined:
    Jan 10, 2016
    Posts:
    18
  4. Ryanc_unity

    Ryanc_unity

    Unity Technologies

    Joined:
    Jul 22, 2015
    Posts:
    332
  5. Pe1man

    Pe1man

    Joined:
    Jan 10, 2016
    Posts:
    18