Hi,
I’m working on a VR project that isn’t mine (task for my University). Originally, the game was only running on PC with a cable to a VR Headset.
But now, I updated it and i’m trying to make it run on Oculus quest alone.
It runs fine when I test it on PC, but when I launch it on Oculus, I have 4 big problems :
-
The game lag so much that it’s unplayable, it’s literally 2 FPS on average. I know I must optimize by reducing the texture resolution or reducing the amount of polygons on the 3D shapes but do you know a tool that can do that quickly on the whole project ?
-
There are no textures, everything is just black and white, probably related to the texture resolution problem, but changing the LOD bias on textures does nothing because “Mip Gen settings” is stuck on “NoMipmaps” for some reason.
-
I can’t TP, when I move the joystick the line draws and when I release I don’t change position (btw i’m using a new VR character because the old one need to be updated), but maybe it’s because the lag is messing up things
-
When I look up or down, the lag is reduced, but when it becomes smooth enough… The game crashes. Actually, I also tested a copy of the project with tons of thing removed in the map to reduce the lag (just for testing, I can’t let the map like that), and when I start the game, it’s actually smooth for 1 or 2 seconds and then it crashes. So basically, the game lag but when I try to fix the lag it crashes…
And I get this obscure error log, I counldn’t find any working fixes after searching :
LogPlayLevel: Error: 04-02 18:06:24.751 3589 3632 D UE4 : [2022.04.02-16.06.24:751][ 74]LogAndroid: Error: === Critical error: ===
LogPlayLevel: Error: 04-02 18:06:24.751 3589 3632 D UE4 : [2022.04.02-16.06.24:751][ 74]LogAndroid: Error:
LogPlayLevel: Error: 04-02 18:06:24.751 3589 3632 D UE4 : [2022.04.02-16.06.24:751][ 74]LogAndroid: Error: Assertion failed: (Index >= 0) & (Index < ArrayNum) [File:D:/Build/++UE4/Sync/Engine/Source/Runtime/Core/Public\Containers/Array.h] [Line: 703]
LogPlayLevel: Error: 04-02 18:06:24.751 3589 3632 D UE4 : [2022.04.02-16.06.24:751][ 74]LogAndroid: Error: Array index out of bounds: 3 from an array of size 4
LogPlayLevel: Error: 04-02 18:06:24.751 3589 3632 D UE4 : [2022.04.02-16.06.24:751][ 74]LogAndroid: Error: [Callstack] 0x00000000BD9EF8E0 libUE4.so(0x00000000061678E0)!TArray<unsigned char, TSizedDefaultAllocator<32> >::RangeCheck(int) const::'lambda'()::operator()() const []
LogPlayLevel: Error: 04-02 18:06:24.751 3589 3632 D UE4 : [2022.04.02-16.06.24:751][ 74]LogAndroid: Error: [Callstack] 0x00000000C1C102FC libUE4.so(0x000000000A3882FC)!FLandscapeRenderSystem::ComputeSectionPerViewParameters(FSceneView const*, int, float, bool, bool, FVector, FMatrix) []
LogPlayLevel: Error: 04-02 18:06:24.751 3589 3632 D UE4 : [2022.04.02-16.06.24:751][ 74]LogAndroid: Error: [Callstack] 0x00000000C1C4237C libUE4.so(0x000000000A3BA37C)!TGraphTask<FLandscapeRenderSystem::FComputeSectionPerViewParametersTask>::ExecuteTask(TArray<FBaseGraphTask*, TSizedDefaultAllocator<32> >&, ENamedThreads::Type) []
LogPlayLevel: Error: 04-02 18:06:24.751 3589 3632 D UE4 : [2022.04.02-16.06.24:751][ 74]LogAndroid: Error: [Callstack] 0x00000000BEC6CCB8 libUE4.so(0x00000000073E4CB8)!FTaskThreadAnyThread::ProcessTasks() []
LogPlayLevel: Error: 04-02 18:06:24.751 3589 3632 D UE4 : [2022.04.02-16.06.24:751][ 74]LogAndroid: Error: [Callstack] 0x00000000BEC6BAE4 libUE4.so(0x00000000073E3AE4)!FTaskThreadAnyThread::ProcessTasksUntilQuit(int) []
LogPlayLevel: Error: 04-02 18:06:24.751 3589 3632 D UE4 : [2022.04.02-16.06.24:751][ 74]LogAndroid: Error: [Callstack] 0x00000000BEC6B8B4 libUE4.so(0x00000000073E38B4)!FTaskThreadAnyThread::Run() []
LogPlayLevel: Error: 04-02 18:06:24.752 3589 3632 D UE4 : [2022.04.02-16.06.24:751][ 74]LogAndroid: Error: [Callstack] 0x00000000BED8EB6C libUE4.so(0x0000000007506B6C)!FRunnableThreadPThread::Run() []
LogPlayLevel: Error: 04-02 18:06:24.752 3589 3632 D UE4 : [2022.04.02-16.06.24:752][ 74]LogAndroid: Error: [Callstack] 0x00000000BEC6799C libUE4.so(0x00000000073DF99C)!FRunnableThreadPThread::_ThreadProc(void*) []
LogPlayLevel: Error: 04-02 18:06:24.752 3589 3632 D UE4 : [2022.04.02-16.06.24:752][ 74]LogAndroid: Error: [Callstack] 0x00000000EE01A6D6 libc.so(0x000000000009A6D6)![Unknown]() []
LogPlayLevel: Error: 04-02 18:06:24.752 3589 3632 D UE4 : [2022.04.02-16.06.24:752][ 74]LogAndroid: Error: [Callstack] 0x00000000EDFDF278 libc.so(0x000000000005F278)![Unknown]() []
LogPlayLevel: Error: 04-02 18:06:24.752 3589 3632 D UE4 : [2022.04.02-16.06.24:752][ 74]LogAndroid: Error:
LogPlayLevel: Error: 04-02 18:06:24.752 3589 3632 D UE4 : [2022.04.02-16.06.24:752][ 74]LogAndroid: Error:
Do you have any idea how to fix at least one of these issues ? (especially the 1 and 4)
I really need help, I don’t have much time to finish the project.