Q.
When docking AnyPortrait editor to Unity editor layout and then maximizing/minimizing it or moving it to another scene, it will crash and be forced to quit.
A.
(This issue has been resolved since the answer.)
A special handling related to docking in the Unity editor’s internal logic caused an error.
We found that dummy values were being generated in docking-related actions, and in the update, we prevented these dummy values from causing errors.
However, this method was resolved as a result of debugging, not as an official API, and may recur in future Unity versions.
We have confirmed that the issue has been resolved up to Unity 6.