Reproduction steps:
- Open the attached “AssetImportTest.zip” project
- Select the “/Assets/Prefabs” folder in the Project window
- Press “Command + Z” / ”Control + Z” to duplicate the folder
- Observe the Console window
Expected result: OnPostProcessAllAssets is called only one time
Actual result: OnPostProcessAllAssets is called many times
Reproducible with: 2020.3.43f1, 2021.3.16f1, 2022.1.24f1, 2022.2.2f1, 2023.1.0a24
Reproducible on: M1 MacOS 13.1, Windows 10 (21H2)
Notes:
- Using the 2020.3.43f1 Intel Editor a “TargetParameterCountException” is thrown when duplicating folders
- Reproducible on both Intel and Apple Silicon Editors, however, the shortcut doesn’t work on some Intel Editors