Search Unity

Bug Updating one package caused entire project to reimport

Discussion in 'Package Manager' started by Jh2556, Mar 9, 2021.

  1. Jh2556

    Jh2556

    Joined:
    Sep 29, 2014
    Posts:
    18
    Hi all,

    We just upgraded our large project to Unity 2020.2.6f. The upgrade processes went relatively smooth.

    We did notice an error with TextMeshPro. Our first thought was to update our TexMeshPro to a more recent version via the package manager. We did that and it immediately trigger a reimport of our entire project(5+hrs). I've never had something like that happen before.

    I'm assuming this is a bug since the package manager is designed to break up monolithic projects and reduce iteration time. Can anyone confirm, any workarounds? I searched the issue tracker and didn't find anything.

    Thank you!
     
    krisventure and dongch007 like this.
  2. hbonin

    hbonin

    Unity Technologies

    Joined:
    Feb 11, 2020
    Posts:
    54
    Hi Jh2556,

    I reached out to a TMP dev and here is his response:

    I had similar reports related to textures getting re-imported but only when Android is selected as a platform. However, the re-import does not occur with StandAlone platform for instance.
    This texture re-import does occur when upgrading from 2019.4 to 2020.2 regardless of TMP. But subsequently upgrading the TMP package from 3.0.1 - 3.0.3 to 3.0.4 does trigger this re-import.
    As far as I can tell there is nothing that has changed (that I could find) in the TMP package that has changed between 3.0.3 and 3.0.4 that would trigger this behavior.
    I can't think of anything related to the Package Manager regarding this.
    Sorry
     
  3. dongch007

    dongch007

    Joined:
    Jan 8, 2014
    Posts:
    41
    I tried install ProBuilder, unity reimport all even StandAlone platform
     
  4. krisventure

    krisventure

    Joined:
    Mar 24, 2016
    Posts:
    118
    This is one of the most annoying TMP and / or Package Manager bug I've encountered. I'm sitting here without a charger, just wanted to do a few quick changes in my code on the go as usually, you know when you make sure nothing crazy happens.

    Well surely updating a tiny TMP package wouldn't be a risk right? Wrong! It's triggered the re-import of the entire project, for real??

    Version info: Unity 2020 LTS version. Updating from TMP 3.01 to 3.something ('verified').
    Guys please do some testing before releasing a package.

    As you know there's no way to cancel a full re-import and we all know the risks of force quitting / restarting Unity during a full reimport, we've all been there: Corrupted files, having to revert back to our last backups etc, not nice at all. So I just have to sit here watching my 50% battery dropping to zero in just 15 minutes fast-drained by a heavy-weight project re-import process. Not being able to get done the few adjustments that I'd planned.

    I mean, surely you can't say this is normal and we should just count on a full re-import when updating a simple package in package manager. Never seen that happening with any other packages before.

    Even if this happened back in the office I wouldn't be happy for an unplanned 5 hour-long full re-import because of a bug.
     
    Last edited: May 10, 2021
    Rukas90 likes this.
  5. maximeb_unity

    maximeb_unity

    Unity Technologies

    Joined:
    Mar 20, 2018
    Posts:
    556
    Hi everyone,

    I'm really sorry about this problem you're running into. I'd like to reassure you that there is a lot of testing going on before packages are released, but clearly we cannot catch everything, and this one obviously slipped through.

    It is certainly a concerning issue. Updating a single package should in no way force reimporting other packages, or assets in your Assets folder. (Re-)compilation may occur and is expected, but certainly not a 5-hour import! I'd like to ask a few questions that can help us track down the issue.

    - What OS and OS version are you using? (Windows 10, MacOS Big Sur, ...)
    - What Unity Editor version did you see this on? (Please be specific, e.g. 2020.3.5f1 rather than 2020 LTS)
    - Can you reproduce this in a small project with no assets and only the packages? (I.e. by copying your project manifest.json file to that empty project)
    - Does this happen only when updating TMP or did you see that with other packages?

    Thanks a lot for your understanding and for your help chasing this nasty bug!
     
  6. dongch007

    dongch007

    Joined:
    Jan 8, 2014
    Posts:
    41
    This explained in this thread.
    https://forum.unity.com/threads/unity-made-full-project-reimport-on-every-small-change.1066844/
     
    maximeb_unity likes this.
  7. SilverStorm

    SilverStorm

    Joined:
    Aug 25, 2011
    Posts:
    712
    This bug also occurred for me when installing Pro Builder from the package manager. How is this not fixed yet?
    It also occurred when installing another asset.
    Using 2021.1.

    UPDATE: Same thing happened when installing Polybrush!
    Luckily my project is not too large taking about 15 minutes to reimport whole project.
     
    Last edited: Jul 18, 2021
  8. Qleenie

    Qleenie

    Joined:
    Jan 27, 2019
    Posts:
    869
    Same here; installed Polybrush, 1h coffee break.... But even worse: After a restart of PC and Unity, same thing happened again, reimport of all assets (Unity 2020.3.14 LTS).
     
  9. Stardog

    Stardog

    Joined:
    Jun 28, 2010
    Posts:
    1,913
    Probuilder here too. 2020.3.12.
     
  10. jiraphatK

    jiraphatK

    Joined:
    Sep 29, 2018
    Posts:
    300
    Yeah, I just triggered full project reimport with PolyBrush package
    Unity 2020.3.7
    3 hour wasted. :(:(
     
  11. SilverStorm

    SilverStorm

    Joined:
    Aug 25, 2011
    Posts:
    712
    ***Message for anyone still thinking of using Probuilder and Polybrush in this day and age***

    I can 100% confirm that probuilder and polybrush are causing these issues. I removed those assets and the problem went away. Sad that Unity ignored the issue i hope others have reported a bug.
    In any case take it from me I got rid of those tools and instead downloaded Umodeler the learning curve takes a bit but it's the most powerful tool around for modeling and is decent at texturing too all in engine it makes pro builder look like child's play. I literally never have to leave the engine ever again and what's more is if you have purchased a 3d package from other assets probuilder lets you edit them. The discord is available when you need it to ask specific questions.

    With Umodeler I no longer leave the engine at all.
    There's a free version here if you need to test it out:
    https://assetstore.unity.com/packages/tools/modeling/umodeler-lite-133081
    https://assetstore.unity.com/packages/tools/modeling/umodeler-model-your-world-80868
     
  12. Masashi-Wada

    Masashi-Wada

    Joined:
    Jul 6, 2010
    Posts:
    89
    Thank you , silverstorm,

    I had the same problem. Even if it was a non-TextMesh installation, when I imported some assets from the asset store, it caused a full reimport. I did this 5 times in 6 months. There was always ProBuilder in my project. Take a look at your advice and remove it from my project I will confirm.

    Unity 2020.3.23f1 (Windows10)
    my manifest.json

    {
    "dependencies": {
    "com.coffee.ui-effect": "https://github.com/mob-sakai/UIEffect.git",
    "com.kyrylokuzyk.arfoundationremote": "file:..\\Assets\\Plugins\\ARFoundationRemoteInstaller\\com.kyrylokuzyk.arfoundationremote.tgz",
    "com.unity.2d.sprite": "1.0.0",
    "com.unity.addressables": "1.19.11",
    "com.unity.burst": "1.7.0-pre.1",
    "com.unity.collections": "1.0.0-pre.6",
    "com.unity.device-simulator": "3.0.3-preview",
    "com.unity.ide.visualstudio": "2.0.12",
    "com.unity.inputsystem": "1.2.0",
    "com.unity.jobs": "0.11.0-preview.6",
    "com.unity.mathematics": "1.2.5",
    "com.unity.memoryprofiler": "0.4.2-preview.1",
    "com.unity.postprocessing": "3.2.0",
    "com.unity.probuilder": "4.5.2",
    "com.unity.subsystemregistration": "1.1.1",
    "com.unity.test-framework": "1.1.30",
    "com.unity.textmeshpro": "3.0.6",
    "com.unity.timeline": "1.4.8",
    "com.unity.ugui": "1.0.0",
    "com.unity.uiextensions": "https://bitbucket.org/UnityUIExtensions/unity-ui-extensions.git",
    "com.unity.xr.arcore": "4.2.1",
    "com.unity.xr.arfoundation": "4.2.1",
    "com.unity.xr.arkit": "4.2.1",
    "com.unity.xr.interaction.toolkit": "1.0.0-pre.8",
    "com.unity.xr.management": "4.2.0",
    "com.unity.modules.ai": "1.0.0",
    "com.unity.modules.androidjni": "1.0.0",
    "com.unity.modules.animation": "1.0.0",
    "com.unity.modules.assetbundle": "1.0.0",
    "com.unity.modules.audio": "1.0.0",
    "com.unity.modules.cloth": "1.0.0",
    "com.unity.modules.director": "1.0.0",
    "com.unity.modules.imageconversion": "1.0.0",
    "com.unity.modules.imgui": "1.0.0",
    "com.unity.modules.jsonserialize": "1.0.0",
    "com.unity.modules.particlesystem": "1.0.0",
    "com.unity.modules.physics": "1.0.0",
    "com.unity.modules.physics2d": "1.0.0",
    "com.unity.modules.screencapture": "1.0.0",
    "com.unity.modules.terrain": "1.0.0",
    "com.unity.modules.terrainphysics": "1.0.0",
    "com.unity.modules.tilemap": "1.0.0",
    "com.unity.modules.ui": "1.0.0",
    "com.unity.modules.uielements": "1.0.0",
    "com.unity.modules.umbra": "1.0.0",
    "com.unity.modules.unityanalytics": "1.0.0",
    "com.unity.modules.unitywebrequest": "1.0.0",
    "com.unity.modules.unitywebrequestassetbundle": "1.0.0",
    "com.unity.modules.unitywebrequestaudio": "1.0.0",
    "com.unity.modules.unitywebrequesttexture": "1.0.0",
    "com.unity.modules.unitywebrequestwww": "1.0.0",
    "com.unity.modules.vehicles": "1.0.0",
    "com.unity.modules.video": "1.0.0",
    "com.unity.modules.vr": "1.0.0",
    "com.unity.modules.wind": "1.0.0",
    "com.unity.modules.xr": "1.0.0"
    }
    }
     
  13. Masashi-Wada

    Masashi-Wada

    Joined:
    Jul 6, 2010
    Posts:
    89
    This is my Editor.log when that happened. Yes, that happened when I added the FBX Exporter for Unity to my project. However, it did not always happen. I think that often happened when I imported the assets after a few hours of work. Bakery's logs follow, probably because the assets have been re-imported. It happened before I installed Bakery.



    Checking for leaked weakptr:
    Found no leaked weakptrs.
    ##utp:{"type":"MemoryLeaks","version":2,"phase":"Immediate","time":1637671109341,"processId":20004,"allocatedMemory":150420,"memoryLabels":[{"Default":560},{"NewDelete":70776},{"Thread":64},{"Manager":808},{"GfxDevice":72},{"Serialization":40},{"BaseObject":10104},{"WebCam":72},{"String":14817},{"DynamicArray":464},{"Curl":1440},{"PoolAlloc":176},{"GI":3560},{"VR":272},{"EditorGui":56},{"EditorUtility":560},{"UnityConnect":25368},{"Collab":57},{"ProfilerEditor":21154}]}

    (Big spaces continued) <RI> Initialized touch support.

    Refresh completed in 0.008732 seconds.
    RefreshInfo: RefreshV2(AllowForceSynchronousImport) scanfilter:
    RefreshProfiler: Total: 7.644ms
    <RI> Initialized touch support.
    Start importing ProjectSettings/ProjectSettings.asset using Guid(00000000000000004000000000000000) Importer(-1,00000000000000000000000000000000) -> (artifact id: '115ead19358966456371338c72a5a547') in 0.006831 seconds
    Start importing Assets/AddressableAssetsData/AddressableAssetSettings.asset using Guid(cd667c0daa7384e4d823eab1cd340889) Importer(-1,00000000000000000000000000000000) -> (artifact id: '7a4cc61d7b624cb15e67ad5349d78982') in 0.002838 seconds
    Refreshing native plugins compatible for Editor in 2.27 ms, found 22 plugins.
    Preloading 0 native plugins for Editor in 0.00 ms.
    RefreshInfo: StopAssetImportingV2(NoUpdateAssetOptions) scanfilter:
    RefreshProfiler: Total: 149.113ms
    <RI> Initialized touch support.
    Start importing Assets/Plugins/UnLogickFactory using Guid(06aa9a3151175c649a626df0d6f7445a) Importer(-1,00000000000000000000000000000000) -> (artifact id: 'd312ecdf874c6a856f0094231d3052cb') in 0.003483 seconds
    Start importing Assets/Plugins/UnLogickFactory/FbxExporter using Guid(a2576ca1ba45c394199eeaad6f7e2723) Importer(-1,00000000000000000000000000000000) -> (artifact id: '0d7c6af0026fa0fc207bb29c05d0468f') in 0.003472 seconds
    Start importing Assets/Plugins/UnLogickFactory/FbxExporter/Prefabs using Guid(f10c07063bb588e4d8e0d5472bebe9d3) Importer(-1,00000000000000000000000000000000) -> (artifact id: '2b6133d956f07f88d7031d122ae0b291') in 0.000609 seconds
    Start importing Assets/Plugins/UnLogickFactory/FbxExporter/Shaders using Guid(13bcf8019f92be84db575f13edcba051) Importer(-1,00000000000000000000000000000000) -> (artifact id: 'f310c1319b321a61b9b4b6ece8060ca2') in 0.000518 seconds
    Start importing Assets/Plugins/UnLogickFactory/FbxExporter/Scripts using Guid(25a8124ad3b55454da41d8afbcac82db) Importer(-1,00000000000000000000000000000000) -> (artifact id: 'dbe2b686b6cbf13ca5e426c513b1be0f') in 0.000539 seconds
    Start importing Assets/Plugins/UnLogickFactory/FbxExporter/DLL using Guid(ed65ccd5f914fb44c982e557d0a8f463) Importer(-1,00000000000000000000000000000000) -> (artifact id: '870d43268defd8faa9a554388cfe034f') in 0.000523 seconds
    Start importing Assets/Plugins/UnLogickFactory/FbxExporter/Scripts/Integrations using Guid(82e4a1134c7559d4e8438ea243a68091) Importer(-1,00000000000000000000000000000000) -> (artifact id: 'c6536a03e9577ff6645b7ff48acf2d50') in 0.000545 seconds
    Start importing Assets/Plugins/UnLogickFactory/FbxExporter/Scripts/CustomProperties using Guid(93cbc27f07fc1b54b92a5e86eb8313d5) Importer(-1,00000000000000000000000000000000) -> (artifact id: '3b33183cf68c3d558bab2203eeb2a351') in 0.000504 seconds
    Start importing Assets/Plugins/UnLogickFactory/FbxExporter/Scripts/Editor using Guid(5a472d38a9b094043a360e43551bd881) Importer(-1,00000000000000000000000000000000) -> (artifact id: 'f5b1f40d36b47da2f0e91049eece1e03') in 0.000497 seconds
    Start importing Assets/Plugins/UnLogickFactory/FbxExporter/Scripts/Integrations/Editor using Guid(4f9ad6e23fe356c4aa271c49c4d92773) Importer(-1,00000000000000000000000000000000) -> (artifact id: '77d110886e2227229678f93861e2d6ed') in 0.000528 seconds
    Start importing Assets/Plugins/UnLogickFactory/FbxExporter/DLL/UnityFbxExporter_x86_64_v16.dll using Guid(7262613615f6f3643b46316040532767) Importer(-1,00000000000000000000000000000000) -> (artifact id: '8d3aa186a769d1a8c44e69130b517bc4') in 0.004752 seconds
    Start importing Assets/Plugins/UnLogickFactory/FbxExporter/DLL/UnityFbxExporter_x86_v16.dll using Guid(18ccb55ccf8760f49920869e922e9a41) Importer(-1,00000000000000000000000000000000) -> (artifact id: '0af7191fdbea9b18e5c3aef2fb49850c') in 0.004190 seconds
    Start importing Assets/Plugins/UnLogickFactory/FbxExporter/Scripts/CustomProperties/FbxCustomProperty.cs using Guid(50160d4a9a8939041b46adcd9fc49ca8) Importer(-1,00000000000000000000000000000000) -> (artifact id: 'cfad26477cc84753ca64914a6f1f72b2') in 0.002899 seconds
    Start importing Assets/Plugins/UnLogickFactory/FbxExporter/Scripts/CustomProperties/FbxCustomPropertyBehaviour.cs using Guid(f063155bb962f424b9242812ebd3a7c4) Importer(-1,00000000000000000000000000000000) -> (artifact id: '648bb8fcde8176cf149cf79cc5aee4c4') in 0.002824 seconds
    Start importing Assets/Plugins/UnLogickFactory/FbxExporter/Scripts/FbxExportConfiguration.cs using Guid(418d1b43056faee4cb08bcfffb082cde) Importer(-1,00000000000000000000000000000000) -> (artifact id: '9258a181bdaaf1fdc0c087eb35cd11bd') in 0.002500 seconds
    Start importing Assets/Plugins/UnLogickFactory/FbxExporter/Scripts/Integrations/Editor/FbxExporterGaiaIntegration.cs using Guid(71f5798a576170845ab465d99b82ea27) Importer(-1,00000000000000000000000000000000) -> (artifact id: '31da52a4d282ee9ea5720cfcd253e61d') in 0.002546 seconds
    Start importing Assets/Plugins/UnLogickFactory/FbxExporter/Scripts/CustomProperties/FbxMaterialCustomProperties.cs using Guid(7404f59339ccd3a4e900460b06481608) Importer(-1,00000000000000000000000000000000) -> (artifact id: '2ef9d4f981a7184f493b866d75c8eb81') in 0.002443 seconds
    Start importing Assets/Plugins/UnLogickFactory/FbxExporter/Scripts/Integrations/Editor/UnLogickFbxExporterIntegration.cs using Guid(a4b8dd48339e30b48811ccd5ab1965d3) Importer(-1,00000000000000000000000000000000) -> (artifact id: '1b6a6f9637108e6225049011353b63fa') in 0.002379 seconds
    Start importing Assets/Plugins/UnLogickFactory/FbxExporter/Scripts/TextureExporter.cs using Guid(c49621f1c57859347b128ecd308ac985) Importer(-1,00000000000000000000000000000000) -> (artifact id: '75328367eaaa4016e8964dd065961b89') in 0.002910 seconds
    Start importing Assets/Plugins/UnLogickFactory/FbxExporter/Scripts/Editor/FbxCustomPropertyBehaviourInspector.cs using Guid(05620d355de747e4d9335ed76286fa9d) Importer(-1,00000000000000000000000000000000) -> (artifact id: 'b2ca7a2aecfcb3209841f2ff49df0647') in 0.002939 seconds
    Start importing Assets/Plugins/UnLogickFactory/FbxExporter/Scripts/CustomProperties/FbxTerrainustomProperties.cs using Guid(355a9192cbcb9a045956a4654aa6d40d) Importer(-1,00000000000000000000000000000000) -> (artifact id: 'f0b2e2d12bdee4ed6efa459ae3afbe0b') in 0.002977 seconds
    Start importing Assets/Plugins/UnLogickFactory/FbxExporter/Scripts/CustomProperties/FbxMeshCustomProperties.cs using Guid(e5f6c56df30c67d4f8666e3cd9e02d1b) Importer(-1,00000000000000000000000000000000) -> (artifact id: 'b5b2039f0b0cd39c5127573cc31ff02e') in 0.002466 seconds
    Start importing Assets/Plugins/UnLogickFactory/FbxExporter/Scripts/FbxLODScheme.cs using Guid(565ecffaf99748a429dbe47f9956a521) Importer(-1,00000000000000000000000000000000) -> (artifact id: '5e473d4b8855fd1514e31846e77abbfb') in 0.002549 seconds
    Start importing Assets/Plugins/UnLogickFactory/FbxExporter/Scripts/CustomProperties/FbxNodeCustomProperties.cs using Guid(66705e179ee8eb2419e195fe1efc3ffb) Importer(-1,00000000000000000000000000000000) -> (artifact id: 'cfcea9fa6f6091cce4883b0d71e28703') in 0.002494 seconds
    Start importing Assets/Plugins/UnLogickFactory/FbxExporter/Scripts/FbxExporter.cs using Guid(862f52a4c4aff83459b49b6818879453) Importer(-1,00000000000000000000000000000000) -> (artifact id: '535c2bfacbc0e126182c1478bb19afa2') in 0.003366 seconds
    Start importing Assets/Plugins/UnLogickFactory/FbxExporter/Scripts/CustomProperties/FbxSkinnedMeshCustomProperties.cs using Guid(085b1a044b01b1c4781ea8eaab3377fc) Importer(-1,00000000000000000000000000000000) -> (artifact id: 'bb5a07c7ac8be6969e466454868dff38') in 0.002442 seconds
    Start importing Assets/Plugins/UnLogickFactory/FbxExporter/Scripts/Editor/FbxExporterWindow.cs using Guid(4827951f25a60bc4f8d2442e95b931d6) Importer(-1,00000000000000000000000000000000) -> (artifact id: '4873d4704dd3cb45bdb8f767317bb364') in 0.002746 seconds
    Start importing Assets/Plugins/UnLogickFactory/FbxExporter/Scripts/FbxTextureExportScheme.cs using Guid(a8bb5d9779038204d9656f62b41c5d7e) Importer(-1,00000000000000000000000000000000) -> (artifact id: 'f7c92277ee754df17c1266988248de77') in 0.002891 seconds
    Start importing Assets/Plugins/UnLogickFactory/FbxExporter/Scripts/CustomProperties/FbxShaderProperty.cs using Guid(6a32b95ffaa52cc4fabdb7d43db422a2) Importer(-1,00000000000000000000000000000000) -> (artifact id: 'f274f71e4e78e8895bd16e5d1e8534ac') in 0.002481 seconds
    Start importing Assets/Plugins/UnLogickFactory/FbxExporter/Scripts/CustomProperties/FbxTextureCustomProperties.cs using Guid(da0330aa941dc8e449873302d9ead785) Importer(-1,00000000000000000000000000000000) -> (artifact id: '4ed5fd1800343bf9479f72e4785228f5') in 0.002984 seconds
    Start importing Assets/Plugins/UnLogickFactory/FbxExporter/Scripts/AnimatorExtension.cs using Guid(4c8b5f8603c241245a719aecf47b29d8) Importer(-1,00000000000000000000000000000000) -> (artifact id: '6cef784da25f9db6127c23b3e6594129') in 0.002640 seconds
    Start importing Assets/Plugins/UnLogickFactory/FbxExporter/Scripts/Editor/FbxAssetPostProcessing.cs using Guid(fc19de04ebf29c248ad926ac9ec5d848) Importer(-1,00000000000000000000000000000000) -> (artifact id: '463cea95a57d9ea05c55c5f30793abaa') in 0.002605 seconds
    Start importing Assets/Plugins/UnLogickFactory/FbxExporter/Scripts/Editor/FbxCustomPropertyPropertyDrawer.cs using Guid(5e2f968a460710e4ab194c883ba56a45) Importer(-1,00000000000000000000000000000000) -> (artifact id: '9b9978be16208bc091defe77964d0ea9') in 0.003071 seconds
    Start importing Assets/Plugins/UnLogickFactory/FbxExporter/Scripts/UnityFbxExporterBinding.cs using Guid(9f918efe253970a4893cc125a65e68fb) Importer(-1,00000000000000000000000000000000) -> (artifact id: 'd87ff1cab811004d5faea1efacc98ae1') in 0.003349 seconds
    AssetDatabase: script compilation time: 0.098349s
    - Starting script compilation
    - Starting compile Library/ScriptAssemblies/Assembly-CSharp-firstpass.dll
    Deleting stamp file at Library/ScriptAssemblies/BuiltinAssemblies.stamp
    - Starting compile Library/ScriptAssemblies/Assembly-CSharp-Editor-firstpass.dll
    - Starting compile Library/ScriptAssemblies/Assembly-CSharp.dll
    - Starting compile Library/ScriptAssemblies/Assembly-CSharp-Editor.dll
    - Starting ILPostProcessorRunner
    - Starting ILPostProcessor 'zzzUnity.Burst.CodeGen.BurstILPostProcessor' on Assembly-CSharp-firstpass.dll
    - Finished ILPostProcessor 'zzzUnity.Burst.CodeGen.BurstILPostProcessor' on Assembly-CSharp-firstpass.dll in 0.311915 seconds
    - Finished ILPostProcessorRunner in 0.458254 seconds
    - Finished compile Library/ScriptAssemblies/Assembly-CSharp-firstpass.dll in 4.599386 seconds
    - Starting ILPostProcessorRunner
    - Starting ILPostProcessor 'zzzUnity.Burst.CodeGen.BurstILPostProcessor' on Assembly-CSharp.dll
    - Finished ILPostProcessor 'zzzUnity.Burst.CodeGen.BurstILPostProcessor' on Assembly-CSharp.dll in 0.149021 seconds
    - Finished ILPostProcessorRunner in 0.225856 seconds
    - Finished compile Library/ScriptAssemblies/Assembly-CSharp.dll in 2.479635 seconds
    - Starting ILPostProcessorRunner
    - Starting ILPostProcessor 'zzzUnity.Burst.CodeGen.BurstILPostProcessor' on Assembly-CSharp-Editor-firstpass.dll
    - Finished ILPostProcessor 'zzzUnity.Burst.CodeGen.BurstILPostProcessor' on Assembly-CSharp-Editor-firstpass.dll in 0.174839 seconds
    - Finished ILPostProcessorRunner in 0.276815 seconds
    - Finished compile Library/ScriptAssemblies/Assembly-CSharp-Editor-firstpass.dll in 2.497293 seconds
    - Starting ILPostProcessorRunner
    - Starting ILPostProcessor 'zzzUnity.Burst.CodeGen.BurstILPostProcessor' on Assembly-CSharp-Editor.dll
    - Finished ILPostProcessor 'zzzUnity.Burst.CodeGen.BurstILPostProcessor' on Assembly-CSharp-Editor.dll in 0.172166 seconds
    - Finished ILPostProcessorRunner in 0.261087 seconds
    - Finished compile Library/ScriptAssemblies/Assembly-CSharp-Editor.dll in 1.469684 seconds
    - Finished script compilation in 4.651514 seconds
    Assets\Scripts\Components\AR\LightEstimation.cs(12,22): warning CS0108: 'LightEstimation.light' hides inherited member 'Component.light'. Use the new keyword if hiding was intended.
    Assets\Scripts\SceneCore\UIController\SelectPose\SelectPoseController.cs(12,98): warning CS0067: The event 'SelectPoseController.OnWillPoseChange' is never used
    Assets\ShaderoSprite\Plugins\Editor\NodeEditorWindow.cs(85,13): warning CS0618: 'SceneView.onSceneGUIDelegate' is obsolete: 'onSceneGUIDelegate has been deprecated. Use duringSceneGui instead.'
    Assets\ShaderoSprite\Plugins\Editor\NodeEditorWindow.cs(86,13): warning CS0618: 'SceneView.onSceneGUIDelegate' is obsolete: 'onSceneGUIDelegate has been deprecated. Use duringSceneGui instead.'
    Assets\ShaderoSprite\Plugins\Editor\NodeEditorWindow.cs(111,13): warning CS0618: 'SceneView.onSceneGUIDelegate' is obsolete: 'onSceneGUIDelegate has been deprecated. Use duringSceneGui instead.'
    Assets\Plugins\LuxWater\Scripts\LuxWater_UnderWaterBlur.cs(57,8): warning CS0219: The variable 'xrSinglePassInstanced' is assigned but its value is never used
    Reloading assemblies after forced synchronous recompile.
    Begin MonoManager ReloadAssembly
    Native extension for WindowsStandalone target not found
    Native extension for iOS target not found
    Native extension for Android target not found
    Refreshing native plugins compatible for Editor in 3.87 ms, found 23 plugins.
    Preloading 0 native plugins for Editor in 0.00 ms.
    [MODES] ModeService[none].Initialize
    [MODES] ModeService[none].LoadModes
    [MODES] Loading mode Default (0) for mode-current-id-AHPhotoApp
    Mono: successfully reloaded assembly
    - Completed reload, in 5.076 seconds
    Domain Reload Profiling:
    ReloadAssembly (5076ms)
    BeginReloadAssembly (915ms)
    ExecutionOrderSort (0ms)
    DisableScriptedObjects (81ms)
    BackupInstance (0ms)
    ReleaseScriptingObjects (3ms)
    CreateAndSetChildDomain (385ms)
    EndReloadAssembly (4106ms)
    LoadAssemblies (148ms)
    RebuildTransferFunctionScriptingTraits (0ms)
    SetupTypeCache (408ms)
    ReleaseScriptCaches (3ms)
    RebuildScriptCaches (112ms)
    SetupLoadedEditorAssemblies (1521ms)
    LogAssemblyErrors (0ms)
    InitializePlatformSupportModulesInManaged (8ms)
    SetLoadedEditorAssemblies (0ms)
    RefreshPlugins (4ms)
    BeforeProcessingInitializeOnLoad (247ms)
    ProcessInitializeOnLoadAttributes (1054ms)
    ProcessInitializeOnLoadMethodAttributes (205ms)
    AfterProcessingInitializeOnLoad (3ms)
    EditorAssembliesLoaded (1ms)
    ExecutionOrderSort2 (0ms)
    AwakeInstancesAfterBackupRestoration (661ms)
    Platform modules already initialized, skipping
    Reloading assemblies failed.
    Start importing Assets/Plugins/UnLogickFactory/FbxExporter/Shaders/TextureExporterPlaceHolder.shader using Guid(e0052ab82431c57498f4f59034f57a4a) Importer(-1,00000000000000000000000000000000) -> (artifact id: '3477a850557b17a9a9a601fe3ba00454') in 0.015532 seconds
    Start importing Assets/Plugins/UnLogickFactory/FbxExporter/Shaders/ExportSpecular.shader using Guid(e221146ae6300f849bf79c6b4146d02a) Importer(-1,00000000000000000000000000000000) -> (artifact id: '5f3c7141cdaa8fa867f292d3d12d5543') in 0.008162 seconds
    Start importing Assets/Plugins/UnLogickFactory/FbxExporter/Shaders/ExportNormal.shader using Guid(8bc592511e0c15d43984512a76765e92) Importer(-1,00000000000000000000000000000000) -> (artifact id: '98782db72d2e808976a2005cdf8b82c4') in 0.007727 seconds
    Start importing Assets/Plugins/UnLogickFactory/FbxExporter/Shaders/ExportDiffuse.shader using Guid(4ffe79e617a5be845be1968387259891) Importer(-1,00000000000000000000000000000000) -> (artifact id: '2d6e73a93b0ed22b276a86e7e7b0763a') in 0.008389 seconds
    Start importing Assets/RawSources/Animations/CLazyRunnerActionAnimPack/Animations/P3_CLazyJump/Jmp_Move_Side/CLazy@Jmp_Move_Right_Start.FBX using Guid(1055b9da8429fdf48a1af85b8a53e6c4) Importer(-1,00000000000000000000000000000000) Keyframe reduction: Ratio: 72.095222%; Time: -0.000178s;
    Bakery: checking for UV overlaps in Assets/RawSources/Animations/CLazyRunnerActionAnimPack/Animations/P3_CLazyJump/Jmp_Move_Side/CLazy@Jmp_Move_Right_Start.FBX
    UnityEngine.StackTraceUtility:ExtractStackTrace ()
    UnityEngine.DebugLogHandler:LogFormat (UnityEngine.LogType,UnityEngine.Object,string,object[])
    UnityEngine.Logger:Log (UnityEngine.LogType,object)
    UnityEngine.Debug:Log (object)
    ftModelPostProcessor:OnPostprocessModel (UnityEngine.GameObject) (at Assets/Plugins/Bakery/Editor/x64/Bakery/scripts/ftModelPostProcessor.cs:143)
    System.Reflection.MonoMethod:Invoke (object,System.Reflection.BindingFlags,System.Reflection.Binder,object[],System.Globalization.CultureInfo)
    System.Reflection.MethodBase:Invoke (object,object[])
    UnityEditor.AssetPostprocessingInternal:InvokeMethodIfAvailable (object,string,object[])
    UnityEditor.AssetPostprocessingInternal:CallPostProcessMethods (string,object[])
    UnityEditor.AssetPostprocessingInternal:postprocessMesh (UnityEngine.GameObject)
    (Filename: Assets/Plugins/Bakery/Editor/x64/Bakery/scripts/ftModelPostProcessor.cs Line: 143)
    File 'CLazy@Jmp_Move_Right_Start' has rig import warnings. See Import Messages in Rig Import Tab for more details.
    File 'CLazy@Jmp_Move_Right_Start' has animation import warnings. See Import Messages in Animation Import Settings for more details.
    -> (artifact id: 'a2ea447f13e7bdc5ef7a96f2f8fe83f5') in 0.556242 seconds
    Start importing Assets/RawSources/Animations/CLazyRunnerActionAnimPack/Animations/P1_CLazyMovement/Mvm_8way_Jog/CLazy@Mvm_Jog_Back_L45.FBX using Guid(10af6be2bc3611e4b880950d2afa62cb) Importer(-1,00000000000000000000000000000000) Keyframe reduction: Ratio: 41.733978%; Time: 0.002653s;
    Bakery: checking for UV overlaps in Assets/RawSources/Animations/CLazyRunnerActionAnimPack/Animations/P1_CLazyMovement/Mvm_8way_Jog/CLazy@Mvm_Jog_Back_L45.FBX
    UnityEngine.StackTraceUtility:ExtractStackTrace ()
    UnityEngine.DebugLogHandler:LogFormat (UnityEngine.LogType,UnityEngine.Object,string,object[])
    UnityEngine.Logger:Log (UnityEngine.LogType,object)
    UnityEngine.Debug:Log (object)
    ftModelPostProcessor:OnPostprocessModel (UnityEngine.GameObject) (at Assets/Plugins/Bakery/Editor/x64/Bakery/scripts/ftModelPostProcessor.cs:143)
    System.Reflection.MonoMethod:Invoke (object,System.Reflection.BindingFlags,System.Reflection.Binder,object[],System.Globalization.CultureInfo)
    System.Reflection.MethodBase:Invoke (object,object[])
    UnityEditor.AssetPostprocessingInternal:InvokeMethodIfAvailable (object,string,object[])
    UnityEditor.AssetPostprocessingInternal:CallPostProcessMethods (string,object[])
    UnityEditor.AssetPostprocessingInternal:postprocessMesh (UnityEngine.GameObject)
    (Filename: Assets/Plugins/Bakery/Editor/x64/Bakery/scripts/ftModelPostProcessor.cs Line: 143)

    (asset import log continued...)
     
  14. giraffe1

    giraffe1

    Joined:
    Nov 1, 2014
    Posts:
    302
    I too am suffering the pain after I decided to install polybrush from the packmanager. I am on 2020.3.25f1 on standard renderpipeline. I am stuck for 15/20 minutes so far.
     
  15. unity_2jxHNVY36zr2mg

    unity_2jxHNVY36zr2mg

    Joined:
    Jan 17, 2020
    Posts:
    86
    Same here. Just imported the postprocessing package Platform android. Thanks for wasting my time!
     
    amiel_ace likes this.
  16. mutp

    mutp

    Joined:
    Oct 1, 2018
    Posts:
    79
    This happens when I add any new package from the Package Manager or delete any package from the Plugins folder. It just triggers a full project reimport. Crazy..

    My solution? Kill Unity from the Task Manager and when I open it again, it doesn't bother reimporting. Huh. Solved.
     
    amiel_ace likes this.
  17. amiel_ace

    amiel_ace

    Joined:
    Oct 25, 2014
    Posts:
    18
    Another unity bug I encountered, unity so broken, Im planning on switching to unreal
     
    willpark2000 likes this.
  18. cloverme

    cloverme

    Joined:
    Apr 6, 2018
    Posts:
    198
    Same, polybrush install decided to try to scan through all the assets.

    Unity response: "Thanks for reaching out, now, pardon us while we ignore you... so we can get back to making more tools for movie editors instead of helping indie game devs..."

    For anyone else who hits this craptacular showstopper:
    Bring up task manager, kill Unity.
    Edit the manifest.json & packages-lock.json file, remove the entry blocks for Polybrush.
    Restart Unity.
     
  19. lunarspore

    lunarspore

    Joined:
    Apr 14, 2022
    Posts:
    4
    Confirming this bug happened to me while importing Polybrush. This was reported over a year ago and still not fixed?
     
  20. Spikebor

    Spikebor

    Joined:
    May 30, 2019
    Posts:
    281
    Please @maximeb_unity, I don't want to make another thread about this issue. It's still persist in 2022.1.15f1 as I'm typing.
    This is the most regression bug since it happen with asset/package import or delete ( which developers do a lot in dev cycle ) And if every time it happens we have to take a day off for our huge assets project to reimport, that's so severe.
    This does not happen with every asset though, but you can test with : Polybrush, Animancer Lite, Nature Shader, Archimatix Pro. Those are popular assets.

    If I only have only one thing to ask for improvement from Unity, that is this bug must be in highest priority to solve.
     
  21. bastien_humeau

    bastien_humeau

    Unity Technologies

    Joined:
    Jun 14, 2017
    Posts:
    191
    Hi there,

    This issue is due to some packages using AssetPostprocessors, this allows some assets to be altered during their import, and in order to make all of the import determinist (some details here) every asset that may be impacted by a new AssetPostprocessor needs to be re-imported.
    For example, Polybrush contains an AssetPostprocessor with both OnPreprocessTexture and OnPostprocessTexture which may impact any texture file in a project and thus re-imports all of the textures when the package is added.

    This is not a bug, it is how the import system is working. It's unfortunate that these many packages have AssetPostprocessors in them though and we understand the time it takes when that happens.
    We know that AssetPostprocessors are an issue because of how everything gets tied to them so easily, and we are actively trying to get rid of / replace them with a better system.
     
    maximeb_unity and Qleenie like this.
  22. Spikebor

    Spikebor

    Joined:
    May 30, 2019
    Posts:
    281
    Thanks for the answer, while this is working as intended and is not a bug, if user can have an option to "Hey we will reimport all the textures, Yes / No ?" then everyone will be happy. Most of the time we don't want the reimport.
     
  23. bastien_humeau

    bastien_humeau

    Unity Technologies

    Joined:
    Jun 14, 2017
    Posts:
    191
    The issue is that even if you think you don't want to reimport, you don't know what the Assetpostprocessor might or might not do to your import result, so it's better to have the import done so that you don't have weird surprises on your final build.
    On another hand, the AssetDatabase team is hard at work bringing less intrusive imports into the editor, and hopefully one day this won't be a problem anymore because imports will happen in the background instead of blocking everything right in your face. You can even start trying the premises of this feature in 2021.3 with parallel import, which should already speed up textures and models imports: https://docs.unity3d.com/2021.3/Documentation/Manual/ParallelImport.html
     
    Spikebor likes this.
  24. Spikebor

    Spikebor

    Joined:
    May 30, 2019
    Posts:
    281
    thank you I'll look into that.
     
  25. willpark2000

    willpark2000

    Joined:
    Aug 31, 2019
    Posts:
    1
    I am just losing all faith in Unity. Having major issues like this in a LTS version. For every project I'm doing I want to challenge myself creatively or technically only to realize the real challenges are the uphill battles against the constant engine breaking bugs. Please be more attentive before putting a label like LTS beside a version.
     
    PyrokidSosa likes this.
  26. Afterworldstudios-3D

    Afterworldstudios-3D

    Joined:
    Apr 30, 2022
    Posts:
    1
    @bastien_humeau dude this is the most ridiculous answer i just imported polybrush to find it is trying to scan my entire project, truth be told i will only need to polybrush "MY" chosen objects ie streets, floors etc not every asset in the project.
    Its like you trying to build a house and the structural engineer says hey gimme 2 years pal i need to check every house in your neighborhood before i can do yours sorry.
     
  27. knardhocks

    knardhocks

    Joined:
    Jan 10, 2024
    Posts:
    3
    Ran into a textures reimport today updating ProBuilder to 5.0.7