Skip to content

Instantly share code, notes, and snippets.

@aras-p
Last active December 21, 2015 14:18
Show Gist options
  • Save aras-p/6318447 to your computer and use it in GitHub Desktop.
Save aras-p/6318447 to your computer and use it in GitHub Desktop.
tracking down a bug
Build playe data:
WriteFileInternal, SerializedFile* tempSerialize = UNITY_NEW_AS_ROOT (this is our root!)
- eventually creates ExternalProcess, using that tempSerialize root for m_Buffer
DisplayProgressBar, which processes messages and repaints editor (?)
- eventually calls GetBuiltinSkin
-- this tries to load the skin (?), i.e. MonoBehaviour
--- PersistentManager::GetStreamNameSpaceInternal
---- nameSpace.stream = UNITY_NEW_AS_ROOT
****** This one actually modifies the same header! i.e. SetRootPtr with NULL
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment