Skip to content

Limit the number of items per exhibit on web and mobile platforms#144

Merged
m4ym4y merged 1 commit into
m4ym4y:mainfrom
dsnopek:quest-store-limit-items
Jan 7, 2026
Merged

Limit the number of items per exhibit on web and mobile platforms#144
m4ym4y merged 1 commit into
m4ym4y:mainfrom
dsnopek:quest-store-limit-items

Conversation

@dsnopek

@dsnopek dsnopek commented Nov 3, 2025

Copy link
Copy Markdown
Contributor

On the Meta Quest 3, on very large exhibits with enough items, it would tank the frame rate into single digits and even crash the app

(I tested mostly with the "Screenshot" article, and it could pretty reliably crash it, if you waited long enough for all 2500+ items to load)

This limits the number of slots per exhibit to approximately ~200 on web and mobile (it can go a little over - it stops adding rooms to an exhibit once it goes over, but it'll add however many slots for the last room). On all other platforms, it limits to ~2500, which is about where the limit was anyway, because that's the maximum number of images that would be pulled from Wikimedia Commons.

This does mean that exhibits will be different between web/mobile and all other platforms. But, without having texture streaming and occlusion culling (which would be quite a lot of work to implement), I don't think we can have exhibits that big on web/mobile

After this change, I haven't been able to get MOAT to crash at all on any articles on the Meta Quest 3!

@m4ym4y m4ym4y merged commit f01030a into m4ym4y:main Jan 7, 2026
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants