Post

Replies

Boosts

Views

Activity

Comment on RealityKit Systems Not Ticking Every Frame on visionOS
Glad it worked! 😊 They just added this method and system update condition stuff on visionOS. On iOS afaik systems always seem to be synced with the render loop by default. My assumption would be that since visionOS has high and variable refresh rates and there is certain logic that does not necessarily need to run on every frame, they added SystemUpdateCondition to make the API more flexible in the future: https://developer.apple.com/documentation/realitykit/systemupdatecondition
Mar ’24
Comment on RealityKit MeshResource Memory Leak
Hmm, I'm currently on the public beta iOS beta (20A5312j). I could check if there is a difference to dev beta 3? When I paste your code into my sample project and I can observe the same kind of leaks within the Memory Graph Debugger. Not sure if it's the MeshAsset per se, but based on screenshot #2 above it seems to be related to re:AssetLoadDescriptor and re:MallocAllocator. I think there is definitely something going on, because there are no reported leaks when running the same code on iOS 15.
Jul ’22