Crash when building with VR turned on.
```
Namespace Globals{
RE::NiPointer<NiPointLight> masterNiPointLight;
}
SKSE::MessagingInterface::kDataLoaded:
{
RE::NiPointer<RE::NiPointLight> tmp;
tmp.reset(RE::NiPointLight::Create());
auto* cloned = tmp->Clone();
Globals::masterNiPointLight.reset(dynamic_cast<RE::NiPointLight*>(cloned));
}
```
The above code ALONE crashes when returning to menu or loading a earlier save.
If i turn VR build off on my skse plugin template then the crash goes away.
Confirmed by QTR modding team aswell.
CRASHLOG::
Unhandled exception "EXCEPTION_ACCESS_VIOLATION" at 0x7FF7006B2C8D SkyrimSE.exe+0E02C8D lock xadd [rcx+0x08], eax
Exception Flags: 0x00000000
Number of Parameters: 2
Access Violation: Tried to read memory at 0xFFFFFFFFFFFFFFFF
SYSTEM SPECS:
OS: Microsoft Windows 11 Home v10.0.26200
CPU: GenuineIntel 13th Gen Intel(R) Core(TM) i7-13620H
GPU #1: Intel Raptor Lake-P [UHD Graphics]
GPU #2: Microsoft Basic Render Driver
PHYSICAL MEMORY: 11.31 GB/15.64 GB
GPU MEMORY: 0.71/7.18 GB
Detected Virtual Machine: Microsoft Hyper-V (100%)
PROBABLE CALL STACK:
[0] 0x7FF7006B2C8D SkyrimSE.exe+0E02C8D -> 75754+0x5D lock xadd [rcx+0x08], eax
[1] 0x7FF7006B25E9 SkyrimSE.exe+0E025E9 -> 75734+0x29 mov edx, 0x40
[2] 0x7FF7006B2CF4 SkyrimSE.exe+0E02CF4 -> 75755+0x14 test bl, 0x01
[3] 0x7FF6FFEF9507 SkyrimSE.exe+0649507 -> 36601+0x837 call 0x00007FF6FFC81840
[4] 0x7FF6FFEEEB19 SkyrimSE.exe+063EB19 -> 36544+0x1A9 jmp 0x00007FF6FFEEE9F2
[5] 0x7FF700DEBB8E SkyrimSE.exe+153BB8E -> 109636+0x106 mov ebx, eax
[6] 0x7FFD8D5CE8D7 KERNEL32.DLL+002E8D7
[7] 0x7FFD8E96C53C ntdll.dll+008C53C
REGISTERS:
RAX 0xFFFFFFFF (size_t) [4294967295]
RCX 0x3F80000000000000 (size_t) [4575657221408423936]
RDX 0x1 (size_t) [1]
RBX 0x2ACB20F1080 (void*)
RSP 0xC5DACFFA90 (void*)
RBP 0x2AC1533A200 (Main*)
RSI 0x2ACB2068448 (char*) "("
RDI 0x1F (size_t) [31]
R8 0x2AC890B93C0 (void*)
R9 0x0 (size_t) [0]
R10 0x40000000 (size_t) [1073741824]
R11 0xC5DACFFAE0 (void*)
R12 0x7FF701146880 (void* -> SkyrimSE.exe+1896880 nop)
R13 0x0 (size_t) [0]
R14 0x2ACB2068478 (void*)
R15 0x1 (size_t) [1]
STACK:
[RSP+0 ] 0x2AC890B93C0 (void*)
[RSP+8 ] 0x2AC890B93C0 (void*)
[RSP+10 ] 0x2AC890B9400 (void*)
[RSP+18 ] 0x2AC890B93C0 (void*)
[RSP+20 ] 0xFFFFFFFFFFFFFFFE (size_t) [uint: 18446744073709551614 int: -2]
[RSP+28 ] 0x2AC890B9300 (void*)
[RSP+30 ] 0x1 (size_t) [1]
[RSP+38 ] 0x7FF7006B25E9 (void* -> SkyrimSE.exe+0E025E9 mov edx, 0x40)
[RSP+40 ] 0x0 (size_t) [0]
[RSP+48 ] 0x2ACB2068680 (QueuedFile*)
[RSP+50 ] 0x1 (size_t) [1]
[RSP+58 ] 0x2ACB2068440 (void*)
[RSP+60 ] 0x2ACB2068680 (QueuedFile*)
[RSP+68 ] 0x7FF7006B2CF4 (void* -> SkyrimSE.exe+0E02CF4 test bl, 0x01)
[RSP+70 ] 0xFFFFFFFF (size_t) [4294967295]
[RSP+78 ] 0x1 (size_t) [1]
[RSP+80 ] 0x1 (size_t) [1]
[RSP+88 ] 0x1 (size_t) [1]
[RSP+90 ] 0x0 (size_t) [0]
[RSP+98 ] 0x7FF6FFEF9507 (void* -> SkyrimSE.exe+0649507 call 0x00007FF6FFC81840)
[RSP+A0 ] 0x2AC8976E080 (PlayerCharacter*)
Flags: 0x00000408
Name: "Prisoner"
FormID: 0x00000014
FormType: ActorCharacter (62)
Flags: 0x00000408
Name: "Prisoner"
FormID: 0x00000014
FormType: ActorCharacter (62)
Object Reference:
File: "Skyrim.esm"
Flags: 0x00040009 kDestructible | kInitialized
Name: "Prisoner"
FormID: 0x00000007
FormType: NPC (43)
ParentCell: None
Flags: 0x00000408 kInitialized
FormID: 0x00000014
FormType: ActorCharacter (62)
[RSP+A8 ] 0x2AC8976E080 (PlayerCharacter*)
Flags: 0x00000408
Name: "Prisoner"
FormID: 0x00000014
FormType: ActorCharacter (62)
Flags: 0x00000408
Name: "Prisoner"
FormID: 0x00000014
FormType: ActorCharacter (62)
Object Reference:
File: "Skyrim.esm"
Flags: 0x00040009 kDestructible | kInitialized
Name: "Prisoner"
FormID: 0x00000007
FormType: NPC (43)
ParentCell: None
Flags: 0x00000408 kInitialized
FormID: 0x00000014
FormType: ActorCharacter (62)
[RSP+B0 ] 0x2AC8976E080 (PlayerCharacter*)
Flags: 0x00000408
Name: "Prisoner"
FormID: 0x00000014
FormType: ActorCharacter (62)
Flags: 0x00000408
Name: "Prisoner"
FormID: 0x00000014
FormType: ActorCharacter (62)
Object Reference:
File: "Skyrim.esm"
Flags: 0x00040009 kDestructible | kInitialized
Name: "Prisoner"
FormID: 0x00000007
FormType: NPC (43)
ParentCell: None
Flags: 0x00000408 kInitialized
FormID: 0x00000014
FormType: ActorCharacter (62)
[RSP+B8 ] 0x1 (size_t) [1]
[RSP+C0 ] 0xFFFFFFFFFFFFFFFE (size_t) [uint: 18446744073709551614 int: -2]
[RSP+C8 ] 0x7FF701146880 (void* -> SkyrimSE.exe+1896880 nop)
[RSP+D0 ] 0x0 (size_t) [0]
[RSP+D8 ] 0xFFFFFFFFFFFFFFFE (size_t) [uint: 18446744073709551614 int: -2]
[RSP+E0 ] 0x0 (size_t) [0]
[RSP+E8 ] 0x0 (size_t) [0]
[RSP+F0 ] 0x0 (size_t) [0]
[RSP+F8 ] 0x401B2 (size_t) [262578]
[RSP+100] 0x0 (size_t) [0]
[RSP+108] 0x7FF6FFEEEB19 (void* -> SkyrimSE.exe+063EB19 jmp 0x00007FF6FFEEE9F2)
[RSP+110] 0x0 (size_t) [0]
0 条评论