PostProcessing icon indicating copy to clipboard operation
PostProcessing copied to clipboard

Fixed ReloadBaseTypes being called 2 times when entering play mode

Open PierreGac opened this issue 6 years ago • 0 comments

It appears that when entering in playmode, the ReloadBaseTypes() is called 2 times: instance.ReloadBaseTypes() => when the instance is null a new one will be created. Inside the ctor, at the end, ReloadBaseTypes() is called first. Then called again by the returned instance (instance.ReloadBaseTypes(). This fix will avoid such thing to happen. The same issue occurs with EditorUtilities.ReloadDecoratorTypes but the previous fix cannot be applied (execution order is unclear)

PierreGac avatar Jul 08 '19 19:07 PierreGac