Hi,
please don’t ask a bug report because it’s not a 100% repro (very likely multithreaded race condition)
Using the new await Object.InstantiateAsync(prefab, parent) we some time get this error with this stack:
PersistentManager::ReadObject must be called from main thread
0x00007ffba11467fd (Unity) StackWalker::ShowCallstack
0x00007ffba11567b9 (Unity) PlatformStacktrace::GetStacktrace
0x00007ffba23c083e (Unity) Stacktrace::GetStacktrace
0x00007ffba296916f (Unity) DebugStringToFile
0x00007ffba2968d2a (Unity) AssertImplementation
0x00007ffba1106e1b (Unity) PersistentManager::ReadObject
0x00007ffba04ddb1f (Unity) PPtr<ParticleSystem>::operator ParticleSystem * __ptr64
0x00007ffba183819f (Unity) SubModule::CheckAndRemoveCircularReferences
0x00007ffba183263d (Unity) SubModule::Transfer<StreamedBinaryRead>
0x00007ffba186c2f2 (Unity) ParticleSystem::Transfer<StreamedBinaryRead>
0x00007ffba188e632 (Unity) ParticleSystem::VirtualRedirectTransfer
0x00007ffba0a57df7 (Unity) SerializationClonesJobData::DeserializeClonesJob
0x00007ffba0c68d6c (Unity) ujob_execute_job
0x00007ffba0c67c0f (Unity) lane_guts
0x00007ffba0c6a854 (Unity) worker_thread_routine
0x00007ffba0e60f9d (Unity) Thread::RunThreadWrapper
0x00007ffca2f1259d (KERNEL32) BaseThreadInitThunk
0x00007ffca37aaf78 (ntdll) RtlUserThreadStart