Closed Janooba closed 3 years ago
That looks like an improvement. We'll probably include it in the next release. Thanks!
As you may have guessed from the name, the EditorRestartHack
is a (hacky) workaround for an issue in the Unity editor. The issue may have been fixed now, so we'll also test to see if we can simply remove it.
Wet Stuff 4.1.2 has just been approved by Unity and is now live on the asset store. That include these changes :)
Context
I don't have an exact repro, but WetStuff adds a new EditorRestartHack component every time
Startup
is called.Expected Behavior
WetStuff.cs should check for an existing component first before adding a new one.
Actual Behavior
WetStuff.cs adds a new component
Fix
I suggest changing
to
Your Environment
Unity 2019.4 WetStuff Version 4.1.0