Scene, prefab and transform tests
Section titled “Scene, prefab and transform tests”Inno.Scene.Tests verifies the Scene contracts through their public entry points. Use this page to locate relevant assertions; it is not a report that these tests passed for your current change.
Behavior covered
Section titled “Behavior covered”Scene and prefab round trips preserve canonical identity, hierarchy, state and direct references. Prefab instantiation remaps internal identities independently of a scene. Tests cover system lifecycle and manual order, stable queries after dense removal, project-scoped layer identity, symmetric interaction rules and parent transforms with rotation or nonuniform scale. Removing and restoring a plugin generation preserves its component as Missing state until recovery.
Environment and execution
Section titled “Environment and execution”The project declares the contract validation layer. Use the shared validation workflow to select its actual dependencies and environment. Inspect the pinned project file for package and project references.
A focused diagnostic from the engine root is:
dotnet test tests/scene/Inno.Scene.Tests/Inno.Scene.Tests.csproj --configuration Debug --disable-build-servers -m:1 -nodeReuse:falseUse --filter FullyQualifiedName~MethodName to investigate one case. A filtered run does not replace the obligations in the validation plan. Restore the declared SDK, packages and any tool/process prerequisites before executing; preserve cancellation, thread and cleanup requirements.
Scenario reference
Section titled “Scenario reference”These representative methods are preserved from the original reference and checked against the pinned source. The linked files contain all assertions and parameterized cases.
Engine Asset Integration
Section titled “Engine Asset Integration”Read the assertions. Representative entry points:
SceneAsset_CaptureSaveLoadInstantiate_PreservesCanonicalIdentityPrefabAsset_IsSceneIndependentAndRemapsInternalReferencesLoadedScene_InstantiatesConnectedPrefabsDuringUpdateSceneAsset_DirectAssetReferenceUsesCanonicalInstanceAndDependencyMetadata
Game Layer
Section titled “Game Layer”Read the assertions. Representative entry points:
GameLayer_ValidatesSupportedSlotRangeGameLayerMask_ComposesAndFiltersLayersGameLayerCatalog_EnforcesUniqueDefinitionsAndSymmetricInteractionsProjectScopedIds_FollowProjectIdentityWithoutRewritingDefinitions
Game System
Section titled “Game System”Read the assertions. Representative entry points:
AddResetUniquenessAndMultiplePolicyUsePublicSceneApiLifecycleDispatchesImmediateActivationAndEditModeRemovalDoesNotDestroySceneRoundtripPreservesSystemsStateIdentityOrderAndGraphReferencesManualSystemOrderIsIndependentFromExecutionPriorityAndBreaksPriorityTies
Plugin Scene Reload
Section titled “Plugin Scene Reload”Read the assertions. Representative entry points:
RemovingAndRestoringAPluginGenerationPreservesItsComponentAsMissingState
Scene Facade
Section titled “Scene Facade”Read the assertions. Representative entry points:
CreateObject_StoresDataInSceneStore_AndReturnsFacadeNameAndTagQueriesTrackObjectMetadataChangesInStorageOrderOrderedSceneQueriesPreserveCreationOrderAfterDenseStorageRemovalTagRejectsEmptyValuesAndTrimsSurroundingWhitespace
Scene Serialization
Section titled “Scene Serialization”Read the assertions. Representative entry points:
MissingSceneTypeDiagnosticPreservesStableIdentitySceneRoundtrip_PreservesHierarchyOrderStateAndDirectReferencesPrefabInstantiation_RemapsIdentitiesAndIsolatesInternalReferencesSceneRoundtripPreservesManualComponentAndSystemOrder
Transform
Section titled “Transform”Read the assertions. Representative entry points:
SetParent_PreservesWorldTransform_AndComputesLocalWithNonUniformScaleSetParent_WithRotation_PreservesWorldRotation_WithLocalRotationByInverseParentSetParent_UnparentPreservesWorldTransformSetParent_RejectsSelfAndDescendantCycle
Extend safely
Section titled “Extend safely”Follow the shared suite-maintenance guidance. Preserve this suite’s owner-thread, resource-release and failure assertions when adding cases.