LGhassen / Scatterer

Atmospheric scattering mod for KSP
Other
192 stars 51 forks source link

Water disappears #100

Closed don-vip closed 4 years ago

don-vip commented 4 years ago

KSP: 1.9.1 Windows 10 64bit

Problem: Disappearing ocean textures (water is black)

Mods installed:

Scatterer 0.0610 Scatterer Default Config 0.0610 Scatterer Sunflare 0.0610

MechJeb 2 - 2.9.2.0 ModularFlightIntegrator - 1.2.7.0 Module Manager - 4.1.3 Kerbal Inventory System - 1.25 Chatterer - 0.9.99 Community Category Kit - 5.1.0.0 Community Tech Tree - 3.4.1 Near Future Electrical Core - 1.1.2 Near Future Solar Core - 1.2.2 Kerbal Engineering Redux - 1.1.7.1

Reproduction steps: With default scatterer settings: Launch game, stare at KSC, look at ocean and sky, ocean is completely black and sky is very dark.

Log: Player.log

Screenshot: image

Comments: I see this in logs:

Unloading 5 Unused Serialized files (Serialized files now loaded: 8)
WARNING: Shader Unsupported: 'Hidden/Nature/Terrain/Utilities' - All passes removed
WARNING: Shader Did you use #pragma only_renderers and omit this platform?
ERROR: Shader Shader is not supported on this GPU (none of subshaders/fallbacks are suitable)
WARNING: Shader Unsupported: 'Hidden/Nature/Terrain/Utilities' - Setting to default shader.

Also this:

EVEManager: Issue loading CloudsManager! Error:
UnityEngine.UnityException: Unable to apply node! ---> UnityEngine.UnityException: Unable to parse "settings" in "OBJECT"! ---> UnityEngine.UnityException: Unable to parse "_MainTex" in "settings"!
  at Utils.ConfigHelper.LoadObjectFromConfig (System.Object obj, ConfigNode node) [0x000f1] in <a29bdc0a773843b5aa893e1e7e89e995>:0 
  at Utils.ConfigHelper.Parse (System.Reflection.FieldInfo field, System.Object& obj, System.String[] value, ConfigNode node) [0x00380] in <a29bdc0a773843b5aa893e1e7e89e995>:0 
  at Utils.ConfigHelper.LoadObjectFromConfig (System.Object obj, ConfigNode node) [0x00062] in <a29bdc0a773843b5aa893e1e7e89e995>:0 
   --- End of inner exception stack trace ---
  at Utils.ConfigHelper.LoadObjectFromConfig (System.Object obj, ConfigNode node) [0x000a8] in <a29bdc0a773843b5aa893e1e7e89e995>:0 
  at Atmosphere.CloudsObject.LoadConfigNode (ConfigNode node) [0x00000] in <3f3a5c0ad89c414d8815f83fd90485b2>:0 
  at Atmosphere.CloudsManager.ApplyConfigNode (ConfigNode node) [0x00030] in <3f3a5c0ad89c414d8815f83fd90485b2>:0 
  at EVEManager.EVEManagerBase.Apply () [0x00032] in <2d11801b299a434cac2ef7ef70cb8407>:0 
   --- End of inner exception stack trace ---
  at EVEManager.EVEManagerBase.Apply () [0x0005f] in <2d11801b299a434cac2ef7ef70cb8407>:0 
  at EVEManager.EVEManagerBase.LoadConfig () [0x00062] in <2d11801b299a434cac2ef7ef70cb8407>:0 
  at EVEManager.GenericEVEManager`1[T].Setup () [0x00016] in <2d11801b299a434cac2ef7ef70cb8407>:0 
  at EVEManager.GlobalEVEManager.Setup (System.Boolean late) [0x0005c] in <2d11801b299a434cac2ef7ef70cb8407>:0 

And this for Duna, Laythe, Jool and Eve (not for Kerbin or other planets):

[Scatterer][Error] Effects couldn't be loaded for Duna because of exception: System.Exception: No correct main menu object found for Duna
  at scatterer.Utils.GetMainMenuObject (CelestialBody celestialBody) [0x00051] in <d38c161373984c33afbd1aae204ad476>:0 
  at scatterer.ProlandManager.Init (scatterer.ScattererCelestialBody scattererBody) [0x00090] in <d38c161373984c33afbd1aae204ad476>:0 
  at scatterer.ScattererCelestialBodiesManager.UpdateProlandManagers () [0x001d8] in <d38c161373984c33afbd1aae204ad476>:0 

I installed KSP long ago, tried lot of mods and removed many of them, could it be a leftover of other graphical mods maybe?

LGhassen commented 4 years ago

Check the section "how to report issues" here: https://forum.kerbalspaceprogram.com/index.php?/topic/103963-wip18x-19x-scatterer-atmospheric-scattering-v00610-25042020/

don-vip commented 4 years ago

@LGhassen thanks for pointing me to the instructions, I have updated the report and now have some hints in the log file.

don-vip commented 4 years ago

@LGhassen I did in fact have leftovers of old visual plugins manually installed long ago and I completely forgot about them because they were not listed in CKAN. I removed them and the "black ocean" bug disappears:

image

I still have however "Shader is not supported on this GPU" and "No correct main menu object found" errors in logs. Maybe it's a know issue in another bug report?

Player.log

LGhassen commented 4 years ago

"No correct main menu object found" appears normally for planets which are not visible in main menu, it is not an issue in itself, unless it appears for Kerbin. The other error you're getting is related to the stock game and I have no idea what it's for.