Search Unity

How to disable CRC checks in Editor? Disabled in build but is not being reflected during Play Mode

Discussion in 'Addressables' started by J1wan, May 17, 2022.

  1. J1wan

    J1wan

    Joined:
    Jun 4, 2020
    Posts:
    15
    Hello,

    As stated in the title, is there any way to disable CRC checks for remote addressable downloads while within the Editor Play Mode? CRC is disabled for the builds, but are still being checked during editor runtime tests in Play Mode and returning the CRC mismatch error.
     
  2. pillakirsten

    pillakirsten

    Unity Technologies

    Joined:
    May 22, 2019
    Posts:
    346
    Hi @J1wan the group setting that disables CRC checks should apply to both the Editor and the Player.

    Did you rebuild Addressables after changing the group setting? The settings won't be applied until after rebuilding.

    To double check, you can add a breakpoint in AssetBundleResource.CreateWebRequest and see if the value of the CRC parameter of UnityWebRequestAssetBundle.GetAssetBundle is set to 0 (disables CRC).
     
    Last edited: May 24, 2022