shadowmage45 / TexturesUnlimited

KSP Shader, Texture, and Modeling Utilities
GNU General Public License v3.0
29 stars 17 forks source link

TU 2.5.8.23 on KSP 1.6.1 issues with shaders and KzProcFairingSide* textures #82

Closed Gordon-Dry closed 4 years ago

Gordon-Dry commented 5 years ago

I use this version with KSP 1.6.1 because I read that it should™ be backwards compatible.

First I recognized that ROTanks look too dark, and now I just recognized that variant switching of procedural fairing sides makes the textures and normal maps disappear. When switching the fairing side to another variant the texture is totally gone (stock-white-grey-ish) and this is logged once (for each chosen variant, in this case "Angara-Roscosmos":

Variant applied: Angara-Roscosmos

(Filename: C:/buildslave/unity/build/artifacts/generated/common/runtime/DebugBindings.gen.cpp Line: 51)

enabling TSMD..model (UnityEngine.Transform) updateMode: False

(Filename: C:/buildslave/unity/build/artifacts/generated/common/runtime/DebugBindings.gen.cpp Line: 51)

EditorVariant applied: Angara-Roscosmos

(Filename: C:/buildslave/unity/build/artifacts/generated/common/runtime/DebugBindings.gen.cpp Line: 51)

enabling TSMD..model (UnityEngine.Transform) updateMode: False

(Filename: C:/buildslave/unity/build/artifacts/generated/common/runtime/DebugBindings.gen.cpp Line: 51)

[PF]: Calling FAR to update voxels...

(Filename: C:/buildslave/unity/build/artifacts/generated/common/runtime/DebugBindings.gen.cpp Line: 51)

[PF]: Calling FAR to update voxels...

(Filename: C:/buildslave/unity/build/artifacts/generated/common/runtime/DebugBindings.gen.cpp Line: 51)

[PF]: Calling FAR to update voxels...

(Filename: C:/buildslave/unity/build/artifacts/generated/common/runtime/DebugBindings.gen.cpp Line: 51)

this is logged once on main menu load (I guess):

NullReferenceException: Object reference not set to an instance of an object
  at KSP.UI.Screens.ApplicationLauncher.RemoveModApplication (KSP.UI.Screens.ApplicationLauncherButton button) [0x00000] in <filename unknown>:0 
  at KSPShaderTools.Addon.TexturesUnlimitedDebug.Awake () [0x00000] in <filename unknown>:0 
UnityEngine.GameObject:Internal_AddComponentWithType(Type)
UnityEngine.GameObject:AddComponent(Type)
AddonLoader:StartAddon(LoadedAssembly, Type, KSPAddon, Startup)
AddonLoader:StartAddons(Startup)
AddonLoader:OnLevelLoaded(GameScenes)
AddonLoader:OnSceneLoaded(Scene, LoadSceneMode)
UnityEngine.SceneManagement.SceneManager:Internal_SceneLoaded(Scene, LoadSceneMode)

(Filename:  Line: -1)

Reverting to 1.3.6.20 for now - but with the same updated ColorPresets.cfg - I guess the PRESET_COLOR_GROUP entries will be ignored because they're unknown.

Full log of last session: https://www.dropbox.com/s/78to2pth2bu3oi6/output_log.txt%20and%20stuff%202019-08-07-01.zip?dl=1