Ferram-Aerospace-Research icon indicating copy to clipboard operation
Ferram-Aerospace-Research copied to clipboard

1.6.1 Install Toolbar Icon Missing

Open pap1723 opened this issue 5 years ago • 7 comments

Created a 1.6.1 install for testing purposes and the Toolbar icon for FAR is not found and there is just a black box instead.

pap1723 avatar Apr 17 '19 14:04 pap1723

It's there on my version of KSP, do you have a log?

dkavolis avatar Apr 17 '19 16:04 dkavolis

Me, with 1.7.3 also have the problem. With only RO, RSS and their minimmum dependencies.

KZdavid avatar Mar 08 '20 17:03 KZdavid

This seems to be an issue with KSP loading textures, I have added a workaround in dev branch for KSP 1.8+ but I'm not interested in backporting.

dkavolis avatar Mar 08 '20 18:03 dkavolis

When the fix for 1.8+ is done, could you please expain it here if it's simple? I'm willing to do that backporting for KSP 1.7.3 if it's not too hard for me.

KZdavid avatar Mar 10 '20 06:03 KZdavid

In your case, I would suggest only backporting the relevant bits since I've used new .NET and Unity API from 1.8 in quite a few places.

The relevant code is: https://github.com/dkavolis/Ferram-Aerospace-Research/blob/ddd7e92fbd1f417101bbeb64e62d1640ed134321/FerramAerospaceResearch/FARAssets.cs#L170-L188

which in dev branch can be configured to instead load using Unity API https://github.com/dkavolis/Ferram-Aerospace-Research/blob/c74e78ec2f321277d180801613d3e184df249d50/FerramAerospaceResearch.Base/Resources/Loading/TextureLoader.cs#L8-L47

Looks like the Unity API has not changed https://docs.unity3d.com/2017.3/Documentation/ScriptReference/Networking.DownloadHandlerTexture.html https://docs.unity3d.com/2017.3/Documentation/ScriptReference/Networking.UnityWebRequestTexture.html

so I might just do it myself.

dkavolis avatar Mar 10 '20 09:03 dkavolis

Try https://github.com/dkavolis/Ferram-Aerospace-Research/tree/1.7_update

dkavolis avatar Mar 10 '20 10:03 dkavolis

It seems that select the ‘High' texture in KSP setting will fix the problem.

KZdavid avatar Apr 21 '20 15:04 KZdavid