Open DoobesURU opened 2 months ago
It looks like this might be caused by a CameraModifier without a brain (which presumably korman should not export).
The crashing line in Plasma is when it accesses the brain here: https://github.com/H-uru/Plasma/blob/d7363e6367de6365861ee4a46cfa66f559e4f287/Sources/Plasma/FeatureLib/pfCamera/plVirtualCamNeu.cpp#L1870
Digging into the PRPs, I found that a handful of cameras had two brains instead of no brain. It appears to happen with similarly-named cameras (eg DefaultCam, DefaultCam.001, DefaultCam.002, etc). The camera objects with the extra numbers at the end receive two brains: "DefaultCam.001" and "DefaultCam_001".
So my guess is it's a blip in a renaming scheme for objects with decimals?
EDIT: Nevermind. Seems that's normal for follow cameras. I'll keep digging.
EDIT 2: It appears one of the camera brains has a null plKey in the <brain>
portion of the PRC; specifically, the one with the decimal and not the underscore. So, follow cameras with the decimals after the name, or any cameras that require two entries, are "half brain-dead". 😛
EDIT 3: Both camera modifiers are missing the <transforms>
as well.
Not sure if this is due to a larger imported Age like the city/Ae'gura (where I'm finding this crash happens quite a bit; many things are needlessly duplicated too), but I've been getting this error when entering certain camera regions: