I am attempting to build my game for WebGL and I ran into these two issues… hundreds of errors in my log.
Recursive serialization is not allowed for threaded serialization - files cannot be written during serialization callbacks
UnityEditor.BuildPlayerWindow:BuildPlayerAndRun ()
Unable to write objects to temporary file: Temp/assetCreatePath
UnityEditor.BuildPlayerWindow:BuildPlayerAndRun ()
I finished all four courses and honestly I wish I was building for WebGL continuously to find where in my progress I caused this. I am getting a host of errors and after research it could be due to any of the following
- Things like “ISerializationCallbackReceiver.OnBeforeSerialize()”
- Custom classes with System.Serializeable
- Recursive references (might be from RPG.Dialogue namespace)?
- Missing use of #if UNITY_EDITOR somewhere
- Something else entirely
I have my stuff in GitHub source control so I guess I could rollback to various points, but I am a newbie with Git and don’t know what to do to try out old commits without making new ones.
P.S. I have the Gamedev.tv course on Git but haven’t tried it yet - What parts of that course are most relevant for what I want to do.