Jump to content

RicePort

Verified Members
  • Posts

    5
  • Joined

  • Last visited

Reputation

0 Neutral
  1. Just a quick update; the issue has been resolved, the app took 4 - 4.6GB RAM after upgrading to URP, and only 2 - 2.6 using built-in. The main issue was that the URP Lit shader took up 1.5GB RAM; oddly enough the solution was to only have one Quality Setting, which reduced it to 100MB; apparently Unity loads every shader variant even for the not-selected quality into memory.
  2. Hey, thanks for the links, I'll be checking that out. Do you know what the proposed memory limit for an app on the Focus 3 should be? The app crashed after hitting 4639 MB total reserved memory; which does seem quite high; I'll make another build without URP and check the memory usage there to ballpark a safe limit.
  3. VIVE OpenXR is for PC-VR only, is it not? If there is an OpenXR version for Focus 3 standalone that'd be great. Since this is a standalone application and I'm using Wave XR Plugin (OpenXR is just used for in editor testing). I just created a build with WaveXR Plugin 5.4 (newest); still same issue. I believe you're right that it's a memory issue (apparently since 2018 lowmemorykiller kills foreground apps as well), and I can just hope it's not an inbuilt URP issue. Another issue I noticed when upgrading to WaveXR Plugin 5.4 (which I remember is why I didn't use that version): The unity Editor crashes on hitting play with that version installed; I'm assuming it has to do with it trying to initialize itself even though the project is set to use OpenXR in editor and not WaveXR. Crash report for that attached, though I guess I might want to open a different topic for that. Editor.log
  4. Hello, I was thinking among similar lines, however the lowmemorykiller is only supposed to kill apps that are not in foreground, so it shouldn't kill it? I also tested it in a very small scene, and it still crashed after ~30min of doing nothing while I could stick around for hours in way larger scenes before; so a memory leak would be the only explanation there, though 1.7GB doesn't sound like it's too large. OpenXR Plugin is 1.8.2 (shouldn't matter since it compiles to Wave XR?), but I tested multiple versions of Wave XR Plugin. Oddly enough the newer versions (5+) don't let me start the app at all (immediately crashes; don't remember the crash log but I can build again with a newer version) so I was building with 4.2.
  5. I had a working standalone app for the Focus 3, made in Unity 2019.3.14f1 in standard render pipeline. After Upgrading to 2022.3.9f1 and switching to URP the app now randomly crashes, most likely during a scene transition, but also just randomly in between. Tried downgrading to 2021 LTS, but still same issue, so URP is my most likely suspect atm. I attached 2 logcat files from shortly before till after it crashes (first is a random crash, second on scene switch; app name: com.my.test.app). Also attached the manifest, though that wasn't an issue in 2019 w.o URP. log.txt log2.txt AndroidManifest.xml
×
×
  • Create New...