googlesamples / googlesamples/unity-jar-resolver

Unity Loads for 2 minuites every single time play is pressed.

Open
#352 23 comments 6 reactions 1 assignee Claimed by @chkuang-g View on GitHub
type: bug
Dominant language
C#
Stars
1.5k
Forks
371
Avg merge
14h 21m
Merged PRs (30d)
3

Description

We are working on a huge project.
100k -ish files

Every single time Play is pressed on unity editor it hangs for around 2 minuites.

I tried to isolate the issue.

steps i tried.
1.) I moved from version 122 to version 150.
2.) unchecking everything that i can uncheck in the settings.

I also tried to disable every dll. in the folder. aside from the
Google.VersionHandlerImpl

it still loads for an unacceptable amount of time.

This however does not happen when i try it in a empty project.

I also are unable to profile on what in the DLL's are triggering this massive spike in loading time. as the calls in a DLL does not show up in a profiler.

I can now fix the issue by importing the ExternalDependencyManager once in a while when building, and disable them after...

UNITY VERSION 2019.3.X

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.