Search Issue Tracker
Fixed
Fixed in 6000.0.7f1, 7000.0.0a10
Votes
0
Found in
6000.0.6f1
6000.1.0a7
Issue ID
UUM-73206
Regression
No
Build Profile Context - Recursive serialization is not allowed for threaded serialization error
The error 'Recursive serialization is not allowed for threaded serialization' is thrown in the console when the BuildProfileContext instance is accessed and created/loaded in a serialization callback.
This was mentioned by a client here: http://supportstats.hq.unity3d.com/history.php?tid=1856204
*Steps to reproduce:*
1. Get shinai project from here: [https://github.cds.internal.unity3d.com/unity/shinai]
2. Add the attached script ([^CustomShaderPreprocessor.cs]) inside the Editor folder
3. Run Shinai > DoBuild > Win64
4. You don't need to wait for the entire build to finish, just wait for the Compiling Shader Variants to show up once and then press cancel.
*Actual results:*
You will see the error 'Recursive serialization is not allowed for threaded serialization' in the console like in the attached video ([^recursive_serialization_bug.mp4])
*Expected results:*
The 'Recursive serialization is not allowed for threaded serialization' should not be thrown in the console.
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Wrong shader appears when Particle System is added as a component
- Realtime Hard Shadows resolution of Spot Light and Point Light cannot be changed by script when using Universal Render Pipeline (URP)
- Warnings in the Package manager have no margin on the right side
- Errors are thrown in the Console and the Game view fails to render when RenderGraph Compatability is disabled and a Camera stack has a Pixel Perfect Camera Component with "Stretch Fill" Crop Frame
- [Linux] Crash on System.Runtime.InteropServices.Marshal:copy_from_unmanaged_fixed when accessing shared memory
Add comment