Skip to content

Main Thread #3

Description

@nsmith1024

My Unity app loads lots of large images from a server, this causes Unity to freeze while decoding and rendering the image becuase this is all done on the main thread.

Does your code still use the main thread to load the images onto textures?

To test have a code like this

void Update()
{
transform.rotate(Vector3(1,0,0)* Time.deltatime*10);
}

Run that while loading several images using your code, see if the object being rotated ever pauses and then resume rotation.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions