Skip to content
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

A few NREs from SubpixelMorphologicalAntialiasing in the SPH #7

Closed
BrettRyland opened this issue Jun 22, 2024 · 0 comments
Closed

A few NREs from SubpixelMorphologicalAntialiasing in the SPH #7

BrettRyland opened this issue Jun 22, 2024 · 0 comments

Comments

@BrettRyland
Copy link

On entering the SPH, I'm seeing some NREs.
The first is

[EXC 00:37:33.988] UnityException: GetComponentFastPath is not allowed to be called from a MonoBehaviour constructor (or instance field initializer), call it in Awake or Start instead. Called from MonoBehaviour 'SubpixelMorphologicalAntialiasing' on game object 'Main Camera'.
See "Script Serialization" page in the Unity Manual for further details.
  UnityEngine.Component.GetComponent[T] () (at <2425394cf09642369e2109953e31f62b>:0)
  Deferred.SubpixelMorphologicalAntialiasing..ctor () (at <ce07a0bdd1c54274b4b2af87d2fba355>:0)
  UnityEngine.DebugLogHandler:LogException(Exception, Object)
  ModuleManager.UnityLogHandle.InterceptLogHandler:LogException(Exception, Object)
  UnityEngine.GameObject:AddComponent()
  Deferred.EditorLighting:HandleSMAA()
  Deferred.EditorLighting:Apply()
  Deferred.EditorLighting:Start()

which is followed by a steady stream of

[EXC 00:37:34.117] NullReferenceException: Object reference not set to an instance of an object
  Deferred.SubpixelMorphologicalAntialiasing.OnPreCull () (at <ce07a0bdd1c54274b4b2af87d2fba355>:0)
  UnityEngine.DebugLogHandler:LogException(Exception, Object)
  ModuleManager.UnityLogHandle.InterceptLogHandler:LogException(Exception, Object)
  UnityEngine.Debug:CallOverridenDebugHandler(Exception, Object)

which I suspect is caused by whatever failed in the constructor.

The Player.log and KSP.log files are here: logfiles.zip

LGhassen added a commit that referenced this issue Jun 23, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant