Shotgrid Create is slow to start

Hi everyone!

We are in the process of adopting SG Create for our review needs in our Studio.

However, we found that most of the time, it takes 15+ minutes just to load the app, which is completely unnaceptable for our use case.
We tested the tool on August last year, and it was nowhere near as bad.

Is anyone having similar issues? Any way to speed this up?

This is how the window looks like during this time:

And this is part of the log for tk-desktop-2, which seems to indicate the tool is having issues with authentication. (we have no such issues with SG Desktop):

2023-02-16 14:48:28,154 [23312 DEBUG sgtk.env.site.tk-desktop2.tk-framework-shotgunutils] [ConfigStateModel] ShotGrid data contained 0 modifications

2023-02-16 14:48:28,154 [23312 DEBUG sgtk.env.site.tk-desktop2.tk-framework-shotgunutils] [ConfigStateModel] Begin applying diffs to model...

2023-02-16 14:48:28,154 [23312 DEBUG sgtk.env.site.tk-desktop2.tk-framework-shotgunutils] [ConfigStateModel] ...diffs applied!

2023-02-16 14:49:07,066 [23312 DEBUG sgtk.core.authentication.session_cache] Checking if we need to update cached session data for site 'https://REDACTED.shotgunstudio.com' and user 'REDACTED@REDACTED.com' in C:\Users\REDACTED\AppData\Roaming\Shotgun\REDACTED\authentication.yml...

2023-02-16 14:49:07,066 [23312 DEBUG sgtk.core.authentication.session_cache] Loading 'C:\Users\REDACTED\AppData\Roaming\Shotgun\REDACTED\authentication.yml'

2023-02-16 14:49:07,076 [23312 DEBUG sgtk.core.authentication.session_cache] Session data was already up to date.

2023-02-16 14:49:07,082 [23312 DEBUG sgtk.core.authentication.session_cache] Loading 'C:\Users\REDACTED\AppData\Roaming\Shotgun\authentication.yml'

2023-02-16 14:49:07,086 [23312 DEBUG sgtk.core.authentication.session_cache] Loading 'C:\Users\REDACTED\AppData\Roaming\Shotgun\authentication.yml'

2023-02-16 14:49:07,088 [23312 DEBUG sgtk.core.authentication.session_cache] Current host is 'https://REDACTED.shotgunstudio.com'

2023-02-16 14:49:07,089 [23312 DEBUG sgtk.core.authentication.session_cache] Loading 'C:\Users\REDACTED\AppData\Roaming\Shotgun\REDACTED\authentication.yml'

2023-02-16 14:50:07,048 [23312 DEBUG sgtk.core.authentication.session_cache] Checking if we need to update cached session data for site 'https://REDACTED.shotgunstudio.com' and user 'REDACTED@REDACTED.com' in C:\Users\REDACTED\AppData\Roaming\Shotgun\REDACTED\authentication.yml...

2023-02-16 14:50:07,049 [23312 DEBUG sgtk.core.authentication.session_cache] Loading 'C:\Users\REDACTED\AppData\Roaming\Shotgun\REDACTED\authentication.yml'

2023-02-16 14:50:07,075 [23312 DEBUG sgtk.core.authentication.session_cache] Session data was already up to date.

2023-02-16 14:50:07,084 [23312 DEBUG sgtk.core.authentication.session_cache] Loading 'C:\Users\REDACTED\AppData\Roaming\Shotgun\authentication.yml'

2023-02-16 14:50:07,088 [23312 DEBUG sgtk.core.authentication.session_cache] Loading 'C:\Users\REDACTED\AppData\Roaming\Shotgun\authentication.yml'

2023-02-16 14:50:07,089 [23312 DEBUG sgtk.core.authentication.session_cache] Current host is 'https://REDACTED.shotgunstudio.com'

2023-02-16 14:50:07,091 [23312 DEBUG sgtk.core.authentication.session_cache] Loading 'C:\Users\REDACTED\AppData\Roaming\Shotgun\REDACTED\authentication.yml'

2023-02-16 14:51:07,039 [23312 DEBUG sgtk.core.authentication.session_cache] Checking if we need to update cached session data for site 'https://REDACTED.shotgunstudio.com' and user 'REDACTED@REDACTED.com' in C:\Users\REDACTED\AppData\Roaming\Shotgun\REDACTED\authentication.yml...

2023-02-16 14:51:07,039 [23312 DEBUG sgtk.core.authentication.session_cache] Loading 'C:\Users\REDACTED\AppData\Roaming\Shotgun\REDACTED\authentication.yml'

2023-02-16 14:51:07,065 [23312 DEBUG sgtk.core.authentication.session_cache] Session data was already up to date.

2023-02-16 14:51:07,075 [23312 DEBUG sgtk.core.authentication.session_cache] Loading 'C:\Users\REDACTED\AppData\Roaming\Shotgun\authentication.yml'

2023-02-16 14:51:07,079 [23312 DEBUG sgtk.core.authentication.session_cache] Loading 'C:\Users\REDACTED\AppData\Roaming\Shotgun\authentication.yml'

2023-02-16 14:51:07,082 [23312 DEBUG sgtk.core.authentication.session_cache] Current host is 'https://REDACTED.shotgunstudio.com'

2023-02-16 14:51:07,082 [23312 DEBUG sgtk.core.authentication.session_cache] Loading 'C:\Users\REDACTED\AppData\Roaming\Shotgun\REDACTED\authentication.yml'

2023-02-16 14:52:07,032 [23312 DEBUG sgtk.core.authentication.session_cache] Checking if we need to update cached session data for site 'https://REDACTED.shotgunstudio.com' and user 'REDACTED@REDACTED.com' in C:\Users\REDACTED\AppData\Roaming\Shotgun\REDACTED\authentication.yml...

2023-02-16 14:52:07,032 [23312 DEBUG sgtk.core.authentication.session_cache] Loading 'C:\Users\REDACTED\AppData\Roaming\Shotgun\REDACTED\authentication.yml'

2023-02-16 14:52:07,058 [23312 DEBUG sgtk.core.authentication.session_cache] Session data was already up to date.

2023-02-16 14:52:07,066 [23312 DEBUG sgtk.core.authentication.session_cache] Loading 'C:\Users\REDACTED\AppData\Roaming\Shotgun\authentication.yml'

2023-02-16 14:52:07,072 [23312 DEBUG sgtk.core.authentication.session_cache] Loading 'C:\Users\REDACTED\AppData\Roaming\Shotgun\authentication.yml'

2023-02-16 14:52:07,073 [23312 DEBUG sgtk.core.authentication.session_cache] Current host is 'https://REDACTED.shotgunstudio.com'

2023-02-16 14:52:07,075 [23312 DEBUG sgtk.core.authentication.session_cache] Loading 'C:\Users\REDACTED\AppData\Roaming\Shotgun\REDACTED\authentication.yml'

2023-02-16 14:53:07,010 [23312 DEBUG sgtk.core.authentication.session_cache] Checking if we need to update cached session data for site 'https://REDACTED.shotgunstudio.com' and user 'REDACTED@REDACTED.com' in C:\Users\REDACTED\AppData\Roaming\Shotgun\REDACTED\authentication.yml...

2023-02-16 14:53:07,012 [23312 DEBUG sgtk.core.authentication.session_cache] Loading 'C:\Users\REDACTED\AppData\Roaming\Shotgun\REDACTED\authentication.yml'

2023-02-16 14:53:07,038 [23312 DEBUG sgtk.core.authentication.session_cache] Session data was already up to date.

2023-02-16 14:53:07,046 [23312 DEBUG sgtk.core.authentication.session_cache] Loading 'C:\Users\REDACTED\AppData\Roaming\Shotgun\authentication.yml'

2023-02-16 14:53:07,052 [23312 DEBUG sgtk.core.authentication.session_cache] Loading 'C:\Users\REDACTED\AppData\Roaming\Shotgun\authentication.yml'

2023-02-16 14:53:07,055 [23312 DEBUG sgtk.core.authentication.session_cache] Current host is 'https://REDACTED.shotgunstudio.com'

2023-02-16 14:53:07,055 [23312 DEBUG sgtk.core.authentication.session_cache] Loading 'C:\Users\REDACTED\AppData\Roaming\Shotgun\REDACTED\authentication.yml'

2023-02-16 14:54:07,000 [23312 DEBUG sgtk.core.authentication.session_cache] Checking if we need to update cached session data for site 'https://REDACTED.shotgunstudio.com' and user 'REDACTED@REDACTED.com' in C:\Users\REDACTED\AppData\Roaming\Shotgun\REDACTED\authentication.yml...

2023-02-16 14:54:07,000 [23312 DEBUG sgtk.core.authentication.session_cache] Loading 'C:\Users\REDACTED\AppData\Roaming\Shotgun\REDACTED\authentication.yml'

2023-02-16 14:54:07,009 [23312 DEBUG sgtk.core.authentication.session_cache] Session data was already up to date.

2023-02-16 14:54:07,010 [23312 DEBUG sgtk.core.authentication.session_cache] Loading 'C:\Users\REDACTED\AppData\Roaming\Shotgun\authentication.yml'

2023-02-16 14:54:07,013 [23312 DEBUG sgtk.core.authentication.session_cache] Loading 'C:\Users\REDACTED\AppData\Roaming\Shotgun\authentication.yml'

2023-02-16 14:54:07,015 [23312 DEBUG sgtk.core.authentication.session_cache] Current host is 'https://REDACTED.shotgunstudio.com'

2023-02-16 14:54:07,016 [23312 DEBUG sgtk.core.authentication.session_cache] Loading 'C:\Users\REDACTED\AppData\Roaming\Shotgun\REDACTED\authentication.yml'

2023-02-16 14:55:06,987 [23312 DEBUG sgtk.core.authentication.session_cache] Checking if we need to update cached session data for site 'https://REDACTED.shotgunstudio.com' and user 'REDACTED@REDACTED.com' in C:\Users\REDACTED\AppData\Roaming\Shotgun\REDACTED\authentication.yml...

2023-02-16 14:55:06,987 [23312 DEBUG sgtk.core.authentication.session_cache] Loading 'C:\Users\REDACTED\AppData\Roaming\Shotgun\REDACTED\authentication.yml'

2023-02-16 14:55:07,012 [23312 DEBUG sgtk.core.authentication.session_cache] Session data was already up to date.

2023-02-16 14:55:07,020 [23312 DEBUG sgtk.core.authentication.session_cache] Loading 'C:\Users\REDACTED\AppData\Roaming\Shotgun\authentication.yml'

2023-02-16 14:55:07,026 [23312 DEBUG sgtk.core.authentication.session_cache] Loading 'C:\Users\REDACTED\AppData\Roaming\Shotgun\authentication.yml'

2023-02-16 14:55:07,039 [23312 DEBUG sgtk.core.authentication.session_cache] Current host is 'https://REDACTED.shotgunstudio.com'

2023-02-16 14:55:07,040 [23312 DEBUG sgtk.core.authentication.session_cache] Loading 'C:\Users\REDACTED\AppData\Roaming\Shotgun\REDACTED\authentication.yml'

2023-02-16 14:56:06,967 [23312 DEBUG sgtk.core.authentication.session_cache] Checking if we need to update cached session data for site 'https://REDACTED.shotgunstudio.com' and user 'REDACTED@REDACTED.com' in C:\Users\REDACTED\AppData\Roaming\Shotgun\REDACTED\authentication.yml...

2023-02-16 14:56:06,967 [23312 DEBUG sgtk.core.authentication.session_cache] Loading 'C:\Users\REDACTED\AppData\Roaming\Shotgun\REDACTED\authentication.yml'

2023-02-16 14:56:06,990 [23312 DEBUG sgtk.core.authentication.session_cache] Session data was already up to date.

2023-02-16 14:56:06,994 [23312 DEBUG sgtk.core.authentication.session_cache] Loading 'C:\Users\REDACTED\AppData\Roaming\Shotgun\authentication.yml'

2023-02-16 14:56:06,999 [23312 DEBUG sgtk.core.authentication.session_cache] Loading 'C:\Users\REDACTED\AppData\Roaming\Shotgun\authentication.yml'

2023-02-16 14:56:07,000 [23312 DEBUG sgtk.core.authentication.session_cache] Current host is 'https://REDACTED.shotgunstudio.com'

2023-02-16 14:56:07,000 [23312 DEBUG sgtk.core.authentication.session_cache] Loading 'C:\Users\REDACTED\AppData\Roaming\Shotgun\REDACTED\authentication.yml'

2023-02-16 14:57:06,950 [23312 DEBUG sgtk.core.authentication.session_cache] Checking if we need to update cached session data for site 'https://REDACTED.shotgunstudio.com' and user 'REDACTED@REDACTED.com' in C:\Users\REDACTED\AppData\Roaming\Shotgun\REDACTED\authentication.yml...

2023-02-16 14:57:06,950 [23312 DEBUG sgtk.core.authentication.session_cache] Loading 'C:\Users\REDACTED\AppData\Roaming\Shotgun\REDACTED\authentication.yml'

2023-02-16 14:57:06,976 [23312 DEBUG sgtk.core.authentication.session_cache] Session data was already up to date.

2023-02-16 14:57:06,983 [23312 DEBUG sgtk.core.authentication.session_cache] Loading 'C:\Users\REDACTED\AppData\Roaming\Shotgun\authentication.yml'

2023-02-16 14:57:06,987 [23312 DEBUG sgtk.core.authentication.session_cache] Loading 'C:\Users\REDACTED\AppData\Roaming\Shotgun\authentication.yml'

2023-02-16 14:57:06,992 [23312 DEBUG sgtk.core.authentication.session_cache] Current host is 'https://REDACTED.shotgunstudio.com'

2023-02-16 14:57:06,992 [23312 DEBUG sgtk.core.authentication.session_cache] Loading 'C:\Users\REDACTED\AppData\Roaming\Shotgun\REDACTED\authentication.yml'

2023-02-16 14:58:06,941 [23312 DEBUG sgtk.core.authentication.session_cache] Checking if we need to update cached session data for site 'https://REDACTED.shotgunstudio.com' and user 'REDACTED@REDACTED.com' in C:\Users\REDACTED\AppData\Roaming\Shotgun\REDACTED\authentication.yml...

2023-02-16 14:58:06,943 [23312 DEBUG sgtk.core.authentication.session_cache] Loading 'C:\Users\REDACTED\AppData\Roaming\Shotgun\REDACTED\authentication.yml'

2023-02-16 14:58:06,967 [23312 DEBUG sgtk.core.authentication.session_cache] Session data was already up to date.

2023-02-16 14:58:06,976 [23312 DEBUG sgtk.core.authentication.session_cache] Loading 'C:\Users\REDACTED\AppData\Roaming\Shotgun\authentication.yml'

2023-02-16 14:58:06,983 [23312 DEBUG sgtk.core.authentication.session_cache] Loading 'C:\Users\REDACTED\AppData\Roaming\Shotgun\authentication.yml'

2023-02-16 14:58:06,986 [23312 DEBUG sgtk.core.authentication.session_cache] Current host is 'https://REDACTED.shotgunstudio.com'

2023-02-16 14:58:06,986 [23312 DEBUG sgtk.core.authentication.session_cache] Loading 'C:\Users\REDACTED\AppData\Roaming\Shotgun\REDACTED\authentication.yml'

2023-02-16 14:59:06,921 [23312 DEBUG sgtk.core.authentication.session_cache] Checking if we need to update cached session data for site 'https://REDACTED.shotgunstudio.com' and user 'REDACTED@REDACTED.com' in C:\Users\REDACTED\AppData\Roaming\Shotgun\REDACTED\authentication.yml...

2023-02-16 14:59:06,923 [23312 DEBUG sgtk.core.authentication.session_cache] Loading 'C:\Users\REDACTED\AppData\Roaming\Shotgun\REDACTED\authentication.yml'

2023-02-16 14:59:06,948 [23312 DEBUG sgtk.core.authentication.session_cache] Session data was already up to date.

2023-02-16 14:59:06,957 [23312 DEBUG sgtk.core.authentication.session_cache] Loading 'C:\Users\REDACTED\AppData\Roaming\Shotgun\authentication.yml'

2023-02-16 14:59:06,961 [23312 DEBUG sgtk.core.authentication.session_cache] Loading 'C:\Users\REDACTED\AppData\Roaming\Shotgun\authentication.yml'

2023-02-16 14:59:06,964 [23312 DEBUG sgtk.core.authentication.session_cache] Current host is 'https://REDACTED.shotgunstudio.com'

2023-02-16 14:59:06,966 [23312 DEBUG sgtk.core.authentication.session_cache] Loading 'C:\Users\REDACTED\AppData\Roaming\Shotgun\REDACTED\authentication.yml'

2023-02-16 15:00:06,915 [23312 DEBUG sgtk.core.authentication.session_cache] Checking if we need to update cached session data for site 'https://REDACTED.shotgunstudio.com' and user 'REDACTED@REDACTED.com' in C:\Users\REDACTED\AppData\Roaming\Shotgun\REDACTED\authentication.yml...

2023-02-16 15:00:06,917 [23312 DEBUG sgtk.core.authentication.session_cache] Loading 'C:\Users\REDACTED\AppData\Roaming\Shotgun\REDACTED\authentication.yml'

2023-02-16 15:00:06,943 [23312 DEBUG sgtk.core.authentication.session_cache] Session data was already up to date.

2023-02-16 15:00:06,950 [23312 DEBUG sgtk.core.authentication.session_cache] Loading 'C:\Users\REDACTED\AppData\Roaming\Shotgun\authentication.yml'

2023-02-16 15:00:06,956 [23312 DEBUG sgtk.core.authentication.session_cache] Loading 'C:\Users\REDACTED\AppData\Roaming\Shotgun\authentication.yml'

2023-02-16 15:00:06,960 [23312 DEBUG sgtk.core.authentication.session_cache] Current host is 'https://REDACTED.shotgunstudio.com'

2023-02-16 15:00:06,960 [23312 DEBUG sgtk.core.authentication.session_cache] Loading 'C:\Users\REDACTED\AppData\Roaming\Shotgun\REDACTED\authentication.yml'

2023-02-16 15:01:06,891 [23312 DEBUG sgtk.core.authentication.session_cache] Checking if we need to update cached session data for site 'https://REDACTED.shotgunstudio.com' and user 'REDACTED@REDACTED.com' in C:\Users\REDACTED\AppData\Roaming\Shotgun\REDACTED\authentication.yml...

2023-02-16 15:01:06,891 [23312 DEBUG sgtk.core.authentication.session_cache] Loading 'C:\Users\REDACTED\AppData\Roaming\Shotgun\REDACTED\authentication.yml'

2023-02-16 15:01:06,917 [23312 DEBUG sgtk.core.authentication.session_cache] Session data was already up to date.

2023-02-16 15:01:06,924 [23312 DEBUG sgtk.core.authentication.session_cache] Loading 'C:\Users\REDACTED\AppData\Roaming\Shotgun\authentication.yml'

2023-02-16 15:01:06,928 [23312 DEBUG sgtk.core.authentication.session_cache] Loading 'C:\Users\REDACTED\AppData\Roaming\Shotgun\authentication.yml'

2023-02-16 15:01:06,931 [23312 DEBUG sgtk.core.authentication.session_cache] Current host is 'https://REDACTED.shotgunstudio.com'

2023-02-16 15:01:06,933 [23312 DEBUG sgtk.core.authentication.session_cache] Loading 'C:\Users\REDACTED\AppData\Roaming\Shotgun\REDACTED\authentication.yml'

2023-02-16 15:10:21,867 [23372 DEBUG sgtk.core.log] Writing to standard log file C:\Users\REDACTED\AppData\Roaming\Shotgun\Logs\tk-desktop2.log

2023-02-16 15:10:21,868 [23372 DEBUG sgtk.core.platform.environment] Loading environment data from path: C:\Program Files\Autodesk\ShotGrid Create\sgtk\bundle_cache\baked\tk-config-basic\v1.4.5\config\env\site.yml

2023-02-16 15:10:22,105 [23372 DEBUG sgtk.env.site.tk-desktop2] Registering instance tk-framework-shotgunutils_v5.x.x as tk-framework-shotgunutils in <Sgtk Engine 0x17a0228eb48: tk-desktop2, env: site>

2023-02-16 15:10:22,108 [23372 DEBUG sgtk.env.site.tk-desktop2.tk-framework-shotgunutils] <Sgtk Framework 0x17a024c0948: tk-framework-shotgunutils, engine: <Sgtk Engine 0x17a0228eb48: tk-desktop2, env: site>>: Initializing...

2023-02-16 15:10:22,108 [23372 DEBUG sgtk.env.site.tk-desktop2.tk-framework-shotgunutils] Posting old cached data clean up...

2023-02-16 15:10:22,111 [23372 DEBUG sgtk.env.site.tk-desktop2.tk-framework-shotgunutils] Cleaning all files with a modification date older than 2022-12-18 15:10:22.109000 under locations C:\Users\REDACTED\AppData\Roaming\Shotgun\REDACTED\site\fw-shotgunutils\sg, C:\Users\REDACTED\AppData\Roaming\Shotgun\REDACTED\site\fw-shotgunutils\sg_nav, C:\Users\REDACTED\AppData\Roaming\Shotgun\REDACTED\site\fw-shotgunutils\thumbs, C:\Users\REDACTED\AppData\Roaming\Shotgun\REDACTED\site\fw-shotgunutils\multi_context, C:\Users\REDACTED\AppData\Roaming\Shotgun\REDACTED\site.basic.desktop2\fw-shotgunutils\sg, C:\Users\REDACTED\AppData\Roaming\Shotgun\REDACTED\site.basic.desktop2\fw-shotgunutils\sg_nav, C:\Users\REDACTED\AppData\Roaming\Shotgun\REDACTED\site.basic.desktop2\fw-shotgunutils\thumbs, C:\Users\REDACTED\AppData\Roaming\Shotgun\REDACTED\site.basic.desktop2\fw-shotgunutils\multi_context

2023-02-16 15:10:22,111 [23372 DEBUG sgtk.env.site.tk-desktop2] Engine init: Instantiating <Sgtk Engine 0x17a0228eb48: tk-desktop2, env: site>

2023-02-16 15:10:22,111 [23372 DEBUG sgtk.env.site.tk-desktop2] Engine init: Current Context: REDACTED.shotgunstudio.com

Hi @nathalia.borin,

Is it as slow to start if you set the SHOTGUN_CREATE_DISABLE_TOOLKIT_INTEGRATION environment variable to 1? It should shutdown the tk-desktop-2 integration.

Thanks

Hey @geffrak !

Thanks for the quick response.

I tried this but it’s still loading 10min later

However, there were no more logs for the tk-desktop-2 engine (expected), but not even the other log file on AppData\Roaming\Autodesk\ShotGrid Create\ShotGridCreate.log has anything being written on, so now I’m in the dark about what could be going on :sweat_smile:

Hi again,

ShotGrid Create is known to make a lot of requests at startup, and on some site configurations, it’s taking a long time to start. I would recommend you create a support ticket so we can investigate what’s wrong.

I see!

I found out that whenever the machine is rebooted, Shotgrid Create opens much faster, so I believe there might be some cache/temporary file being corrupted in the process, because if I close it and try to open it again, we get the issue with the slowness.

But thanks for the response, I’ll look into opening a support ticket as well.

Without rebooting, is it faster if you delete everything in %USERPROFILE%\AppData\Local\Autodesk\ShotGrid Create and in
%USERPROFILE%\AppData\Roaming\Autodesk\ShotGrid Create and start to relaunch it? Is your home folder mapped to a network location?

Hey there! Thanks again @geffrak

I’ve opened a support ticket for this! Any updates and I’ll post here as well.

I tried to delete what’s on the %USERPROFILE%\AppData\Local\Autodesk\ShotGrid Create and in
%USERPROFILE%\AppData\Roaming\Autodesk\ShotGrid Create folders but to no avail :frowning:

Edit: forgot to answer the second question: no, my home folder is local.

One more update here:

I started tracking files that are created/modified once SG Create starts, and it seems the program is actually crashing when it’s in that loading screen (at the very least, it always generates a .dmp on the format %USERPROFILE%\AppData\Local\CrashDumps\ShotgridCreate.exe.xxx.dmp)

I’ll forward the latest dump in the ticket, in case it might help.

An update here: I opened the ticket and the trouble we were having was because of the high number of projects. We archived a good 90% of our projects and the problem was solved :slight_smile:

1 Like