Reproduction steps:
1. Create a new project
2. Install Netcode for Entities package (Window > Package Management > Package Manager)
3. Create a 3D GameObject and make it into a Prefab by dragging and dropping it into a Project window
4. Select a Prefab and add a Ghost Authoring Component in the Inspector
5. Select Prefab instance in the Hierarchy and add Ghost Authoring Inspection Component in the Inspector
6. Enter and exit Play mode
7. Observe the Console and the Prefab instance Inspector
Actual result: “MissingReferenceException: The object of type 'Unity.NetCode.GhostAuthoringComponent' has been destroyed but you are still trying to access it.” errors are thrown and Ghost Authoring Inspection Component content disappears in the Inspector, leaving only the component title bar visible
Expected result: No errors are thrown and Ghost Authoring Inspection Component content remains visible in the Inspector
Reproducible with: 1.13.2 (6000.4.12f1), 6.5.0 (6000.5.1f1), 6.6.0 (6000.6.0a7)
Reproduced on: Windows 11, macOS Tahoe 26.5 (M4)
Notes:
- Ghost Authoring Inspection Component doesn’t indicate that it needs to be added in the Prefab itself unlike the Ghost Authoring Component
- Component content is restored by clicking on any other GameObject in the Hierarchy and back on the Prefab instance