Jump to content

Recommended Posts

Posted

Hello,

I'm working on an immersive VR experience.
I'm using unity and WaveXR
I have an empty scene (no 3D assets) containing a few tools and my VR origin.
The idea is to navigate between  scenes, before loading a new one I make sure all the scenes except the empty scenes get unloaded, and then I load the new one.

Now I have done this before, in a previous project, I had about 7 scenes loaded in a previous experience that worked.
But the scenes were smaller. 

We found a way to optimize drastically so we are able to build bigger scenes, with a near to perfect FPS (we are running between 70 and 90 FPS everywhere which is quite good.
Now at the end of the previous sprint we had completed 4 content scenes.
Building them all together in the headset was ok, result was exceeding our expectations.

But now I 'm trying to add the increment of the last sprint, 2 new scenes.
And the app crashes constantly.
I get these errors in the ADB Logcat which I did not get before : 
 channel 'c18a3cb com.htc.vrs.launcher/com.htc.vr.unity.WVRUnityVRActivity (server)' ~ Channel is unrecoverably broken and will be disposed!

I'm able to build each of these scenes "individually" alongisde the epmty scene with expected results.
But once I add all of the scenes to the same APK it just does not work.

The APK resulting from the previous sprint was 1.6GB
I never tried adding both scenes at once to this but with one added scene, the APK's size is now 2.1GB.

Is that too much for the FOCUS 3 to handle ? 
if so, how can I lower the size of the APK ? 
The previous experience's APK had a total size of 1.1GB

I feel like I could split this in 2 or 3 apps but I don't really want to get into that yet, seems it will be complicated to handle on site with the Kiosk mode etc...


Thanks a lot for enlightments, 
Julien

Posted

Hi @JulienActiveMe,

Not sure if you could provide your latest APK for further investigation?

On 11/14/2024 at 9:01 PM, JulienActiveMe said:

But now I 'm trying to add the increment of the last sprint, 2 new scenes.
And the app crashes constantly.
I get these errors in the ADB Logcat which I did not get before : 
 channel 'c18a3cb com.htc.vrs.launcher/com.htc.vr.unity.WVRUnityVRActivity (server)' ~ Channel is unrecoverably broken and will be disposed!

For the APK size, you can check the assets that you use in your project. Try to shrink the asset(video clips or images) size down.

Or you can separate asset files and download them after your content is launched.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...