stellarium-unity icon indicating copy to clipboard operation
stellarium-unity copied to clipboard

F11 doesn't work, Nothing is in my StreamingSkybox live folder

Open timegate opened this issue 3 years ago • 6 comments

Hello, First of all, thank you for this wonderful project.

I'm trying to use StreamingSkybox.cs somehow, and I found logs below.

StreamingSkybox: pathbase=C:/Users/user/Desktop/try/New Unity Project/Assets/StreamingAssets\SkyBoxes/ SkyDataPath: C:/Users/user/Desktop/try/New Unity Project/Assets/StreamingAssets\SkyBoxes/live Trying to get C:/Users/user/Desktop/try/New Unity Project/Assets/StreamingAssets\SkyBoxes/live\unityData.txt

When I do F11, it doesn't create unityData.txt and 6 png files in the live folder. However, As I succeed to use the codes (https://github.com/idialab/StellariumUnity), it seems that those paths want to fetch the contents of the following paths.

C:\Users\YOU\Pictures\Stellarium\ (Here I have the 6 pngs!) C:\Users\user\AppData\Roaming\Stellarium (Here I have unityData.txt!)

So I thought that maybe I could try

  1. changing skybox.ssc (to make Stellarium write images to the live folder)
  2. changing StreamingSkybox.cs (overwrite SkydataPath, watcher.Path to the above paths)
  3. set %STEL_SKYBOX_DIR% to C:/Users/user/Desktop/try/New Unity Project/Assets/StreamingAssets\SkyBoxes/live

I tried 2) and 3) but I had kept failed, I feel like I lost my way.. Could you please help me?

Thanks for this awesome work again!

timegate avatar Jan 07 '22 12:01 timegate