Yellow-Dog-Man / Resonite-Issues

Issue repository for Resonite.
https://resonite.com
139 stars 2 forks source link

Content loading incurs significant performance penalty #234

Open gentlecolts opened 1 year ago

gentlecolts commented 1 year ago

Describe the bug?

When assets load, especially when users join, framerate is significantly impacted. Similarly, when joining worlds and assets are still loading, framerates are pretty terrible until most if not all assets have loaded.

To Reproduce

Spawn items, join worlds, or have someone join in a session

Expected behavior

Asset loading should be completely asynchronous, some overhead is expected but it should, where possible, not be a detriment to user experience.

Screenshots

No response

Resonite Version Number

2023.10.13.743

What Platforms does this occur on?

Windows, Linux

What headset if any do you use?

No response

Log Files

I don't really think log file is relevant to this, it's trivially reproducible, and there's no isolated event that could really point to it like a crash

Additional Context

No response

Reporters

zangooseoo

Frooxius commented 5 months ago

This is actually a tricky issue for a few reasons:

There are potentially some things that can be done to improve this, like adding memory pooling and generally benchmarking the process more.