What keeps readding "SceneIDMap" objects to my scenes, and then breaking them?

Fairly often, I’ll start a scene, and see the following console warnings:

The referenced script (Unknown) on this Behaviour is missing!
The referenced script on this Behaviour (Game Object ‘SceneIDMap’) is missing!

Okay. I then run Edit → Rendering → Fix Warning… for the Scene ID Map.

That immediately resolves the issue in that scene, and I see the following scene contents deleted in version control:

--- !u!1 &88536354
GameObject:
  m_ObjectHideFlags: 19
  m_CorrespondingSourceObject: {fileID: 0}
  m_PrefabInstance: {fileID: 0}
  m_PrefabAsset: {fileID: 0}
  serializedVersion: 6
  m_Component:
  - component: {fileID: 88536356}
  - component: {fileID: 88536355}
  m_Layer: 0
  m_Name: SceneIDMap
  m_TagString: Untagged
  m_Icon: {fileID: 0}
  m_NavMeshLayer: 0
  m_StaticEditorFlags: 0
  m_IsActive: 1
--- !u!114 &88536355
MonoBehaviour:
  m_ObjectHideFlags: 19
  m_CorrespondingSourceObject: {fileID: 0}
  m_PrefabInstance: {fileID: 0}
  m_PrefabAsset: {fileID: 0}
  m_GameObject: {fileID: 88536354}
  m_Enabled: 1
  m_EditorHideFlags: 0
  m_Script: {fileID: 2014002793}
  m_Name: 
  m_EditorClassIdentifier: 
  m_Entries:
  - id: 0
    category: 0
    gameObject: {fileID: 1927884056}
  - id: 1
    category: 0
    gameObject: {fileID: 1048452484}
  - id: 2
    category: 0
    gameObject: {fileID: 806848970}
  - id: 3
    category: 0
    gameObject: {fileID: 288931012}
--- !u!4 &88536356
Transform:
  m_ObjectHideFlags: 19
  m_CorrespondingSourceObject: {fileID: 0}
  m_PrefabInstance: {fileID: 0}
  m_PrefabAsset: {fileID: 0}
  m_GameObject: {fileID: 88536354}
  m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
  m_LocalPosition: {x: 0, y: 0, z: 0}
  m_LocalScale: {x: 1, y: 1, z: 1}
  m_ConstrainProportionsScale: 0
  m_Children: []
  m_Father: {fileID: 0}
  m_RootOrder: 13
  m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}

--- !u!115 &2014002793
MonoScript:
  m_ObjectHideFlags: 0
  m_CorrespondingSourceObject: {fileID: 0}
  m_PrefabInstance: {fileID: 0}
  m_PrefabAsset: {fileID: 0}
  m_Name: 
  serializedVersion: 5
  m_Script: 
  m_DefaultReferences: {}
  m_Icon: {fileID: 0}
  m_ExecutionOrder: 0
  m_ClassName: SceneObjectIDMapSceneAsset
  m_Namespace: UnityEngine.Rendering.HighDefinition

But it won’t be too long before the SceneIDMap comes back, and I start seeing this message again.

What is causing these to get created? I’m pretty much constantly deleting SceneIDMaps from scene. Every time I perform a light bake in my project, across all scenes, I run the SceneIDMap fixer on that scene. So it’s a huge mystery how it can appear again within a day of having done that.

What keeps adding this, and why does it keep getting added in a broken way, where it’s emitting these warnings?

2 Likes

Looking at this a bit more, it seems like there are some scenes where if I bake lighting, it always adds the broken SceneIDMap object to my scene. I still don’t understand why it’s doing this, or what I can do to fix it. I even deleted every last object in my scene, then added a single Reflection Probe and baked it, and the Scene ID Map got added. This isn’t happening in every scene.

1 Like

same here…no fix yet :confused:

1 Like

Bumping this, it’s happening to me too in HDRP (Unity 6000.2.0b12)