-
-
Notifications
You must be signed in to change notification settings - Fork 86
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fix #345 and #299 #346
Fix #345 and #299 #346
Conversation
Thanks! When I open Play Mode (having selected a brush beforehand), and then exit and go back to the Unity editor, the behavior is different with and without Domain Reload. Domain reload enabled: Domain reload disabled:
|
I'll probably include a fix for this with the current PR #349, which will include bug fixes for a few other issues. For now, for others who may have this issue, you can just clear the selection at the top of the #region Clear
#if UNITY_2019_4_OR_NEWER
[RuntimeInitializeOnLoadMethod( RuntimeInitializeLoadType.SubsystemRegistration )]
#endif
public static void Clear()
{
// add this here
Selection.activeObject = null;
BrushOutlineManager.ClearOutlines();
ClearRegistration();
ClearCaches();
_isHierarchyModified = true;
}
#endregion which will make it behave as it did before support for domain reload options. I'll go ahead and make an issue for this, so it can be mentioned. |
This has been fixed with #349 |
Confirmed fixed in #349 using 2019.4.31f1 |
Domain reload was introduced with unity 2019.4, which would break projects with domain reload disabled. This PR adds the fix as mentioned by @andreiagmu.
Closes #345
Fixes #299