Not signed in
Copyright © 2026 Unity Technologies
This is fixed by new versions of Runtime Scene Serialization which are expected to be available soon. The package manifest entries for several Unity versions appear below. For the benefit of those who also use AR Companion Core, compatible updated versions of that package are also listed. Unity 2022.2 "com.unity.runtime-scene-serialization": "1.0.0-exp.3", "com.unity.ar-companion-core":"3.0.0-exp.3", Unity 2021.3 "com.unity.runtime-scene-serialization": "1.0.0-exp.3", "com.unity.ar-companion-core":"3.0.0-exp.3", Unity 2020.3 "com.unity.runtime-scene-serialization": "0.6.2-preview", "com.unity.ar-companion-core":"2.0.0-preview", Unity 2019.4 "com.unity.runtime-scene-serialization": "0.3.7-preview", "com.unity.ar-companion-core":"1.0.1-preview.2",
This is fixed by new versions of Runtime Scene Serialization which are expected to be available soon. The package manifest entries for several Unity versions appear below. For the benefit of those who also use AR Companion Core, compatible updated versions of that package are also listed. Unity 2022.2 "com.unity.runtime-scene-serialization": "1.0.0-exp.3", "com.unity.ar-companion-core":"3.0.0-exp.3", Unity 2021.3 "com.unity.runtime-scene-serialization": "1.0.0-exp.3", "com.unity.ar-companion-core":"3.0.0-exp.3", Unity 2020.3 "com.unity.runtime-scene-serialization": "0.6.2-preview", "com.unity.ar-companion-core":"2.0.0-preview", Unity 2019.4 "com.unity.runtime-scene-serialization": "0.3.7-preview", "com.unity.ar-companion-core":"1.0.1-preview.2",
Reproduction steps:
1. Open the attached "SerializationIssue.zip" project
2. Open the "DLLBugScene" scene
3. Build And Run with IL2CPP
4. Observe the Console in the Player view
Expected result: No errors were logged - serialization succeded
Actual result: A "MissingPropertyBagException" error was logged - serialization failed
Reproduced with: 0.6.0-preview (2020.3.36f1, 2021.3.6f1)
Could not test with: 0.6.0-preview (2022.1.8f1) (could not resolve build failure), 0.6.0-preview (2022.2.0b1, 2023.1.0a3) (could not resolve package errors)
Reproduced on: Windows 10, Windows 11
Package: Unity Runtime Scene Serialization
Error: "MissingPropertyBagException: No PropertyBag was found for Type=[SerializationTest.TestEmptyClass]. Please make sure all types are declared ahead of time using [GeneratePropertyBagAttribute], [GeneratePropertyBagsForTypeAttribute] or [GeneratePropertyBagsForTypesQualifiedWithAttribute]"
For context, the user is trying to use the Unity Runtime Scene Serialization package in Oculus Quest builds, and they're using a third-party API that uses DLLs. Even if the types are referenced in AOT settings, the DLL scripts fail to get serialized in build while the rest of the scene is working. The problem persists in a very simple DLL containing an almost empty class (Assets/ThirdParty). The user has tried using the RegisterPropertyBagRecursively without success (Assets/Serializer.cs). The "DLLScript" GameObject has a component from the DLL, and after removing this component, a new build successfully serializes the scene
Related forum thread: https://forum.unity.com/threads/runtime-scene-serialization-package-status.1168783/#post-8210691
Sign in to see your voted issues