pump-editor icon indicating copy to clipboard operation
pump-editor copied to clipboard

Debug.Assert in PrefabAssetPostprocessor.cs

Open razor950 opened this issue 4 years ago • 1 comments
trafficstars

The assert gets hit on every load of this package in 2020.3 (using 2020.3.12f1 to be exact)

it is line 22 of that file and it seems to occur everytime I load a project with this package enabled.

razor950 avatar Jun 20 '21 19:06 razor950

Hi,

Thank you for reporting the issue. I have reproduced it and fixed in 11cc10db352e7b7b0e97dbcffb07cb4e775a7431. Seems Unity changed how Resources.FindObjectsOfTypeAll works for editor windows and hence false trigger of the assert.

Please update to 1.0.4 where the issue is fixed and let me know whether the problem still occurs.

rfadeev avatar Jun 21 '21 18:06 rfadeev