Jump to content

[Unreal] Packaging for Windows x64


Immensive

Recommended Posts

Hi

I have crossplatorm UEproject Windows and WaveVR.
In the pc version i don't use  VR. 
I package the project for Windows x64, when i run  the exe this crash and give me this error: 

[2023.08.07-15.41.31:508][  0]WVR_Windows: Error: Failed to load Windows library.
[2023.08.07-15.41.31:508][  0]WVR_Windows: Error: Failed to load Windows library.
[2023.08.07-15.41.31:508][  0]LogWaveVRInput: Display: UpdateHmdPressStates() HMD button 浈彤慂正눀袖翷 is released.
[2023.08.07-15.41.31:508][  0]LogWaveVRInput: Display: UpdateHmdPressStates() HMD button 浈彤湅整r袖翷 is released.
[2023.08.07-15.41.31:508][  0]WVR_Windows: Error: Failed to load Windows library.
[2023.08.07-15.41.31:508][  0]WVR_Windows: Error: Failed to load Windows library.
[2023.08.07-15.41.33:517][  0]LogWindows: Could not start crash report client using ../../../Engine/Binaries/Win64/CrashReportClient-Win64-Debug.exe
[2023.08.07-15.41.33:517][  0]LogMemory: Platform Memory Stats for Windows
[2023.08.07-15.41.33:517][  0]LogMemory: Process Physical Memory: 590.30 MB used, 597.53 MB peak
[2023.08.07-15.41.33:517][  0]LogMemory: Process Virtual Memory: 997.87 MB used, 998.54 MB peak
[2023.08.07-15.41.33:517][  0]LogMemory: Physical Memory: 17931.33 MB used,  14771.14 MB free, 32702.47 MB total
[2023.08.07-15.41.33:517][  0]LogMemory: Virtual Memory: 40835.35 MB used,  8736.83 MB free, 49572.18 MB total
[2023.08.07-15.41.33:517][  0]Message dialog closed, result: Ok, title: The UE-*******Game has crashed and will close, text: Fatal error!


[2023.08.07-15.41.33:517][  0]LogWindows: Error: === Critical error: ===
[2023.08.07-15.41.33:517][  0]LogWindows: Error: 
[2023.08.07-15.41.33:518][  0]LogWindows: Error: Fatal error!
[2023.08.07-15.41.33:518][  0]LogWindows: Error: 
[2023.08.07-15.41.33:518][  0]LogWindows: Error: Unhandled Exception: EXCEPTION_ACCESS_VIOLATION reading address 0xffffffffffffffff
[2023.08.07-15.41.33:518][  0]LogWindows: Error: 
[2023.08.07-15.41.33:518][  0]LogWindows: Error: [Callstack] 0x00007ff788993e17 ******.exe!PoseSimulator::Validate() [D:\Unreal Projects\*****\Plugins\WaveVR\Source\WaveVR\Private\PoseSimulator.cpp:72]
[2023.08.07-15.41.33:518][  0]LogWindows: Error: [Callstack] 0x00007ff78898b0a8 ******.exe!PoseSimulator::TickData() [D:\Unreal Projects\*****\Plugins\WaveVR\Source\WaveVR\Private\PoseSimulator.cpp:83]
[2023.08.07-15.41.33:518][  0]LogWindows: Error: [Callstack] 0x00007ff7889cdaae ******.exe!FWaveVRHMD::OnStartGameFrame() [D:\Unreal Projects\*****\Plugins\WaveVR\Source\WaveVR\Private\WaveVRHMD.cpp:499]
[2023.08.07-15.41.33:518][  0]LogWindows: Error: [Callstack] 0x00007ff79021512f ******.exe!UWorld::Tick() []
[2023.08.07-15.41.33:518][  0]LogWindows: Error: [Callstack] 0x00007ff78ff5b947 ******.exe!UGameEngine::Tick() []
[2023.08.07-15.41.33:518][  0]LogWindows: Error: [Callstack] 0x00007ff788857aff ******.exe!FEngineLoop::Tick() []
[2023.08.07-15.41.33:518][  0]LogWindows: Error: [Callstack] 0x00007ff7888710ce ******.exe!GuardedMain() []
[2023.08.07-15.41.33:518][  0]LogWindows: Error: [Callstack] 0x00007ff7888711aa ******.exe!GuardedMainWrapper() []
[2023.08.07-15.41.33:518][  0]LogWindows: Error: [Callstack] 0x00007ff7888740e6 ******.exe!LaunchWindowsStartup() []
[2023.08.07-15.41.33:518][  0]LogWindows: Error: [Callstack] 0x00007ff788885b34 ******.exe!WinMain() []
[2023.08.07-15.41.33:518][  0]LogWindows: Error: [Callstack] 0x00007ff791f071da ******.exe!__scrt_common_main_seh() [D:\a\_work\1\s\src\vctools\crt\vcstartup\src\startup\exe_common.inl:288]
[2023.08.07-15.41.33:518][  0]LogWindows: Error: [Callstack] 0x00007ffeba947614 KERNEL32.DLL!UnknownFunction []
[2023.08.07-15.41.33:518][  0]LogWindows: Error: [Callstack] 0x00007ffebc8226b1 ntdll.dll!UnknownFunction []
[2023.08.07-15.41.33:518][  0]LogWindows: Error: 
[2023.08.07-15.41.34:143][  0]LogExit: Executing StaticShutdownAfterError
[2023.08.07-15.41.34:144][  0]LogWindows: FPlatformMisc::RequestExit(1)
[2023.08.07-15.41.34:144][  0]LogWindows: FPlatformMisc::RequestExitWithStatus(1, 3)
[2023.08.07-15.41.34:144][  0]LogCore: Engine exit requested (reason: Win RequestExit)

I noticed in the script there are:

in the file : 
..\Plugins\WaveVR\Source\WaveVR\Private\Platforms\Windows\WaveVRPlatformWindows.cpp
#if !WITH_EDITOR
#define FUNC_CHECK() \
    if (funcPtr == nullptr) \
        UE_LOG(WVR_Windows, Error, TEXT("Failed to load Windows library."));
        
        
in the file : 
..\Plugins\WaveVR\Source\WaveVR\Private\PoseSimulator.cpp
bool PoseSimulator::Validate()
{
    if (!IsPlayInEditor())
        return false;

    if (!Initialize())
        return false;

    return true;
}

is packing for windows possible?
do i need to change any options?
do I have to modify plugins or similar?

Link to comment
Share on other sites

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...