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

Unity 2019.2.7f2 crash when switching platforms

Discussion in 'Editor & General Support' started by Wazimog, Oct 22, 2019.

  1. Wazimog

    Wazimog

    Joined:
    Dec 7, 2012
    Posts:
    2
    Issue:
    We've been getting some crashing issues when attempting to switch platforms from Windows to any other platform (the attached log file is Windows -> Mac). This issue has been happening 100% of the time when switching platforms.

    Looking at the attached log, this crash appears to occur when UnityShaderCompiler.exe attempts to update Packages/com.unity.postprocessing/PostProcessing/Shaders/Debug/Histogram.compute.

    It should be noted that in an empty project with only the Post Processing package included we did not have this crash occur, so it doesn't seem to be the package itself causing the crash.

    Workaround:
    Our current workaround has been to delete the Post Processing's Shader folder from the PackageCache (Library\PackageCache\com.unity.postprocessing@2.1.7\PostProcessing\Shaders), then switching to a new platform.


    If anyone has a better workaround or solution for this, let us know!

    Side Notes:
    We haven't tried to replicate this with other versions of Unity.
    We haven't tried to remove other packages to see if there are other possible culprits.
     

    Attached Files: