Skip to content

Performance in Chromebooks is terrible #69

@gardyna

Description

@gardyna

Lottie animations lag like all hell when trying to run on chromebook. I am dynamically fetching and loading See code bellow

var assetTask = await RemoteFileService.LoadFile(
    url: animationUrl,
    fileName: "Transition"
);
var hasAnimation = false;
assetTask.Match(
    success: data => DataConverter.ByteArrayToString(data).Match(
        success:lottie =>
        {
            skottiePlayer.LoadAnimation(lottie);
            hasAnimation = true;
        },
        failure: ex =>
        {
            Debug.Log(ex);
            m_ActFadeOut?.Invoke();
        }),
        failure:ex =>
        {
            Debug.Log(ex);
            m_ActFadeOut?.Invoke();
        }
);

link to 50 sek video of what is supposed to be a 5 sek animation and is on iOS (I see ocational stuttering on Android phones as well)
https://drive.google.com/file/d/162hDaes5GxrEtyst8g2-XXeY4x9Zv4jB/view?usp=sharing

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