Hello Greg,
The demonstration above only loads a single model, but in my actual application, each scene has many models. Every time I switch scenes, there is a 2GB increase in memory usage, which can easily cause my application's process to be killed by the system. I hope the memory can be freed when removing models or when exiting the ImmersiveSpace.
I have already submitted a feedback report: FB14959490.
Best regards,
Zohar
Post
Replies
Boosts
Views
Activity
Before I close the immersive view, I had set it to nil.
------------------------code----------------------------
case .open:
appModel.immersiveSpaceState = .inTransition
appModel.root = nil
await dismissImmersiveSpace()