chloenott / chloenott-site

Personal website for Chloe Nott
https://chloenott.xyz
Other
1 stars 0 forks source link

Fix ground intermittently loading #31

Closed chloenott closed 1 year ago

chloenott commented 2 years ago

Noticed on safari phone so can’t conveniently read console. But if I were to guess, one of the textures didn’t load. Maybe throttle connection to reproduce?

ps: scene stops moving too. Grass loads, then stops. Probably look at the concurrent loads in Environment… like that may be null strict typing I disabled.

chloenott commented 1 year ago

I believe the cause was the player sometimes being created before ground materialized, a ray cast was sent down, and that pick predicate function didn't have a return for the else case.