Search Issue Tracker

Fixed

Fixed in 1.1.0

Votes

0

Found in [Package]

1.0.17

Issue ID

N4EBUG-45

Regression

No

InvalidOperationException is thrown when declaring a SnapshotDataLookupHelper in certain Namespaces

Package: Unity Netcode

-

How to reproduce:
1. Open the attached Project "IN-57247.zip" and load Scene "PredictedSpawn1"
2. Enter Play Mode
3. Observe the Console

Expected result: No errors are thrown in the Console
Actual result: The following errors are thrown in the Console:
"InvalidOperationException: The UNKNOWN_OBJECT_TYPE TestJob.JobData.snapshotDataLookupHelper.m_SnapshotDataLookupCache has not been assigned or constructed. All containers must be valid when scheduling a job."

Reproducible with: 1.0.17 (2022.3.11f1)

Reproduced on:
- MacOS Editor (13.5.2 Intel)

Notes:
- Changing the Namespace of the "PredictedSpawnClassificationSystem" script to not contain "GameFlow" can be used to avoid the issue

Add comment

Log in to post comment

All about bugs

View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.