Skip to content

Comment related to pink square showing in-game #11

@StoneBlue

Description

@StoneBlue

I see there have been only a couple commits added in the past couple of years, which are the only changes to the mod.

I'm getting log spam, talking about a shader parameter that cannot be null. I do not know if this could be related to the issue...

I do see for the latest commit, in lines 124-128 of HLEnvelope.cs, that Angel changed some GameObject variable definitions to start as nulls... I am no coder by any means, so i am just spitballing, but perhaps in starting off with null definitions, its clearing out whatever shader parameter should be defined for those GameObjects, and its not getting redefined somewhere, and ends up staying defined as a null parameter? vOv

Heres a relevent example from my KSP.log:

210317T081629.123 [INFO] [ModuleManager.UnityLogHandle.InterceptLogHandler.LogFormat] [UIMasterController]: ShowUI
210317T081635.882 [INFO] [ModuleManager.UnityLogHandle.InterceptLogHandler.LogFormat] Set Envelope Animation
210317T081635.922 [INFO] [ModuleManager.UnityLogHandle.InterceptLogHandler.LogFormat] HL Airship Plugin Start
210317T081635.923 [INFO] [ModuleManager.UnityLogHandle.InterceptLogHandler.LogFormat] Check for animation
210317T081635.924 [INFO] [ModuleManager.UnityLogHandle.InterceptLogHandler.LogFormat] Set maximum drag
210317T081635.925 [INFO] [ModuleManager.UnityLogHandle.InterceptLogHandler.LogFormat] Set lead envelope
210317T081635.926 [INFO] [ModuleManager.UnityLogHandle.InterceptLogHandler.LogFormat] Create Lines
210317T081635.927 [INFO] [ModuleManager.UnityLogHandle.InterceptLogHandler.LogFormat] Parameterize Lines
210317T081635.928 [INFO] [ModuleManager.UnityLogHandle.InterceptLogHandler.LogFormat] makeLines Exception!
210317T081635.929 [INFO] [ModuleManager.UnityLogHandle.InterceptLogHandler.LogFormat] Value cannot be null.
Parameter name: shader
210317T081639.939 [INFO] [ModuleManager.UnityLogHandle.InterceptLogHandler.LogFormat] deleting part AirshipNoseCap

That last line, is included after each instance of this set of messages, for many parts.

I dont now if its related to only animated parts, also?

Metadata

Metadata

Assignees

Labels

No labels
No labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions