Closed Jailbait228 closed 3 years ago
Please provide steps on reproducing the problem
So, i use fungus view to have an image in my game.
If i want to see my picture in chene i use command "Fade to view".
So the game will look like
If i want to load my game from save i need to return my image to scene. I think that i should use "Fade to View" again.
But i have an error.
Maybe i should use another method?
Interesting... It seems that the camera manager has an issue with doing things like panning right as a scene loads. My save system doesn't even touch any of the camera APIs, so this must be mainly an issue with Fungus itself.
I managed to avoid the problem on my end by adding a Wait Frames Command (set to wait just 1 frame) right before the Fade To View command. Please try that and let me know how it goes.
yes, everything is working, thanks for help)))
Hi, thank you for your code. I tried to make "fade to view" after loading (to save image) by using marker keys but i have an error . "The object of type 'View' has been destroyed but you are still trying to access it. Your script should either check if it is null or you should not destroy the object." So how can i load my view with loading game? if i use this with "set say dialog" i have "StackOverflowException UnityEngine.Transform.get_position () (at:0)
Fungus.CameraManager+<>c__DisplayClass27_0.b__0 () (at ..."
![image](https://user-images.githubusercontent.com/61063262/128037867-89104da0-4a48-493b-8c2f-cc57dc7aff1c.png)