NullReferenceException : Photon Bolt create errors when building

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)

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.

I am also having this error, and I do not have bolt

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”)

1 Like