-
-
Notifications
You must be signed in to change notification settings - Fork 12
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
NRE spam on compiling internal spaces #33
Comments
@JonnyOThan how do I reproduce this? |
I’m pretty sure you just have RPM and an IVA with a MFD installed (e.g. DE_IVA) |
And |
I doubt KSPCF is required, that’s just the fast loader patch. |
Hmm, does this exception actually happen without that mod? |
Without KSPCF? I would be shocked if it didn't. KSPCF is calling the same stock loading methods but just in a different loop structure so that it doesn't get throttle by unity's coroutine logic. |
This comment was marked as resolved.
This comment was marked as resolved.
It looks like this property can throw an NRE if public class FlightGlobals : MonoBehaviour
{
// ...
public static FlightGlobals fetch
{
get
{
if (_fetch == null)
{
_fetch = (FlightGlobals)UnityEngine.Object.FindObjectOfType(typeof(FlightGlobals));
}
return _fetch;
}
}
// ...
public static Vessel ActiveVessel => fetch.activeVessel; I have no idea when that might be possible. I guess I'll just slap on an "ignore NREs" wrapper. |
Re-opening because this probably wasn't actually fixed. |
KSP - 2024-02-24T132234.261.log.zip
The text was updated successfully, but these errors were encountered: