-
-
Notifications
You must be signed in to change notification settings - Fork 21.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Slowdown during "(Re)Importing Assets" #46956
Comments
Looks that spends a lot of time when compressing image
|
Updated to include encode times of Godot version 3.2.4 RC5. |
Can you test this with older 3.2.4 betas and RCs? You can dowoad them here: https://downloads.tuxfamily.org/godotengine/3.2.4/ |
Sure. It seems the problem was introduced in 3.2.4 beta5
|
Looks that this may be cause of this issues - #44683 |
Indeed, so this is not a bug but the expected behavior. The MRP has a texture imported as lossy but with a You should see a difference in quality between the imports from 3.2.3 and 3.2.4 RC - if not, then you likely don't need/want to use |
I changed I would just leave here a direct link to #44682 which includes detailed and interesting information about the topic. Also, I would suggest to include a note about this on the changelog. Thanks =) |
Good point, I added a note to it in the preliminary changelog in https://godotengine.org/article/release-candidate-godot-3-2-4-rc-4 |
Godot version:
3.2.4 RC4
3.2.4 RC5
OS/device including version:
Debian 10.8
Intel i5-2550K
AMD Radeon RX 480
Issue description:
Before opening the project on the editor, I deleted the ".import" folder to force assets to be re-imported.
When using Godot v3.2.4 RC4 it takes way longer than when using Godot v3.2.3.
To be honest, after 5 minutes I gave up and terminated the process.
For both Godot versions, I deleted the ".import" folder and launched the editor with "--verbose" flag on the command line, and took note of textures encode time (see results in table below).
The textures that took more time to encode were PNG files with resolution 2560x1440.
Edit: The slowdown seems to have been introduced in version 3.2.4 beta5. Check measurements below > #46956 (comment)
ETC: Begin encoding, format: ETC2_RGBA8
ETC: Time encoding: 6374
ETC: Begin encoding, format: ETC2_RGBA8
ETC: Time encoding: 46
ETC: Begin encoding, format: ETC2_RGBA8
ETC: Time encoding: 54
ETC: Begin encoding, format: ETC2_RGBA8
ETC: Time encoding: 209
ETC: Begin encoding, format: ETC2_RGBA8
ETC: Time encoding: 233
ETC: Begin encoding, format: ETC2_RGBA8
ETC: Time encoding: 112
ETC: Begin encoding, format: ETC2_RGBA8
ETC: Time encoding: 365
ETC: Begin encoding, format: ETC2_RGBA8
ETC: Time encoding: 251
ETC: Begin encoding, format: ETC2_RGBA8
ETC: Time encoding: 197
ETC: Begin encoding, format: ETC2_RGBA8
ETC: Time encoding: 242
ETC: Begin encoding, format: ETC2_RGB8
ETC: Time encoding: 12849
ETC: Begin encoding, format: ETC2_RGBA8
ETC: Time encoding: 41
ETC: Begin encoding, format: ETC2_RGBA8
ETC: Time encoding: 30
ETC: Begin encoding, format: ETC2_RGBA8
ETC: Time encoding: 232
ETC: Begin encoding, format: ETC2_RGBA8
ETC: Time encoding: 3125
ETC: Begin encoding, format: ETC2_RGBA8
ETC: Time encoding: 1064
ETC: Begin encoding, format: ETC2_RGBA8
ETC: Time encoding: 10929
ETC: Begin encoding, format: ETC2_RGBA8
ETC: Time encoding: 32105
ETC: Begin encoding, format: ETC2_RGBA8
ETC: Time encoding: 799
ETC: Begin encoding, format: ETC2_RGBA8
ETC: Time encoding: 756
ETC: Begin encoding, format: ETC2_RGBA8
ETC: Time encoding: 5068
ETC: Begin encoding, format: ETC2_RGBA8
ETC: Time encoding: 5999
ETC: Begin encoding, format: ETC2_RGBA8
ETC: Time encoding: 341
ETC: Begin encoding, format: ETC2_RGBA8
ETC: Time encoding: 8619
ETC: Begin encoding, format: ETC2_RGBA8
ETC: Time encoding: 721
ETC: Begin encoding, format: ETC2_RGBA8
ETC: Time encoding: 577
ETC: Begin encoding, format: ETC2_RGBA8
ETC: Time encoding: 611
ETC: Begin encoding, format: ETC2_RGB8
^C <--- me giving up
ETC: Begin encoding, format: ETC2_RGBA8
ETC: Time encoding: 31010
ETC: Begin encoding, format: ETC2_RGBA8
ETC: Time encoding: 830
ETC: Begin encoding, format: ETC2_RGBA8
ETC: Time encoding: 741
ETC: Begin encoding, format: ETC2_RGBA8
ETC: Time encoding: 4986
ETC: Begin encoding, format: ETC2_RGBA8
ETC: Time encoding: 5763
ETC: Begin encoding, format: ETC2_RGBA8
ETC: Time encoding: 309
ETC: Begin encoding, format: ETC2_RGBA8
ETC: Time encoding: 8349
ETC: Begin encoding, format: ETC2_RGBA8
ETC: Time encoding: 605
ETC: Begin encoding, format: ETC2_RGBA8
ETC: Time encoding: 584
ETC: Begin encoding, format: ETC2_RGBA8
ETC: Time encoding: 606
ETC: Begin encoding, format: ETC2_RGB8
^C <--- me giving up
Steps to reproduce:
Clean ".import" folder inside a project with texture assets.
Re-import assets.
Minimal reproduction project:
mrp.zip
The text was updated successfully, but these errors were encountered: