wrld3d / unity-api

Issue tracking for the WRLD Unity SDK
28 stars 8 forks source link

Weird interaction when loading from a new scene #74

Closed alexander-sheehan closed 6 years ago

alexander-sheehan commented 6 years ago

Description

Currently developing a mobile app using the WRLD3D API and have the scene loading fine whenever I start directly from the scene that has the map, but whenever I load into the scene from another one, all that can be seen is a black screen. I checked the latitude, longitude and altitude and all are reading the same whether it's working or not, it seems there's an issue with the camera but I'm not 100% sure. To load into the scene I'm calling "SceneManager.LoadScene("Scene_name");" incase that is of any help.

Steps to Reproduce

  1. Play game starting in the scene that contains the wrld3d map
  2. navigate out of scene through a function call
  3. navigate back into scene

Expected behavior: the wrld3d map to load the same way whether the scene is started from or the scene is loaded via SceneManager.LoadScene

Actual behavior: When loaded from a new scene, the screen appears black

Reproduces how often: always

Screen when first loading in

screen shot 2018-03-05 at 1 18 33 am

Screen when loading in from another scene

screen shot 2018-03-05 at 1 18 57 am
alexander-sheehan commented 6 years ago

Problem solved! Had lighting issues when loading in the scene