CharmedBaryon / CommonLibSSE-NG

This is a reverse engineered library for Skyrim Special Edition and Skyrim VR.
MIT License
142 stars 32 forks source link

AddEventSink<RE::BGSActorCellEvent> sends Skyrim into infinite loop in 3.5.6 #56

Closed eddoursul closed 2 years ago

eddoursul commented 2 years ago

I had successfully built Artifact Tracker for 1.5.97-1.6.353 before, but since one of the latest updates an ordinary call

RE::PlayerCharacter::GetSingleton()->AddEventSink<RE::BGSActorCellEvent>(EventListener::GetSingleton());

sends Skyrim into infinite loop in all runtimes.

I made a demo of this issue, containing only this call and nothing else: https://github.com/eddoursul/ng-infinite-loop/blob/master/src/Main.cpp#L32

jpstewart commented 2 years ago

Should be fixed now.