Search Unity

NullReferenceException : Photon Bolt create errors when building

Discussion in 'Addressables' started by JL_Tech_BBW, Jul 2, 2019.

  1. JL_Tech_BBW

    JL_Tech_BBW

    Joined:
    Jun 22, 2017
    Posts:
    32
    Hello,

    I am currently working on a multiplayer app with Photon Bolt and after the import of the import and setup of the Addressable Asset package, I cannot build bundles.

    If I delete Photon Bolt from the project, everything is working fine.

    NullReferenceException: Object reference not set to an instance of an object

    UnityEditor.AddressableAssets.Settings.AddressableAssetEntry.CheckForEditorAssembly (System.Type& t, System.String internalId) (at Library/PackageCache/com.unity.addressables@1.1.4-preview/Editor/Settings/AddressableAssetEntry.cs:499)
     
  2. JL_Tech_BBW

    JL_Tech_BBW

    Joined:
    Jun 22, 2017
    Posts:
    32
    If I select the "Built In Data" group in the Addressable Asset Address list and uncheck the "Include Resources Folders", the build is working fine.
     
  3. joshcamas

    joshcamas

    Joined:
    Jun 16, 2017
    Posts:
    1,278
    I am also having this error, and I do not have bolt
     
  4. unity_bill

    unity_bill

    Joined:
    Apr 11, 2017
    Posts:
    1,053
    A fix for this is on the way, but in the interim, you can generally fix this by selecting "Built In Data", looking in the inspector at the PlayerDataGroupSchema and unchecking both boxes ("include Resources...", "Include Build Settings Scenes")
     
    joshcamas likes this.