utsuboco/r3f-perf

Working offline!

Alkebsi opened this issue ยท 2 comments

Tried to initiate the r3f-perf offline, but it didn't work! Is there a way I can work around that error?

The UI appears, but the stats are not displayed!

I have a similar issue (am unable to load assets not on our whitelisted domains).

The root of the problem is that troika-text-3d (which this tool depends on through its dependency on drei) loads fonts via a CDN, if a unicodeFontsUrl is not provided and that is not exposed in the Perf interface.

You can see where you would need to add it here (and below):

I have a similar issue (am unable to load assets not on our whitelisted domains).

The root of the problem is that troika-text-3d (which this tool depends on through its dependency on drei) loads fonts via a CDN, if a unicodeFontsUrl is not provided and that is not exposed in the Perf interface.

You can see where you would need to add it here (and below):

Knowing the root of the problem is amazing. Seen that once I was using drei, but I was always able to refer a local font. Will try to do that here on Perf and see if that would make sense to be a useful PR!

Otherwise, I will just use it for myself ๐Ÿ˜…
Thanks, that was really useful ๐Ÿ‘