BUG Background isn't rendered. (workaround)
Opened this issue · 2 comments
The background isn't rendered at all and I found why.
In Terminal.cs you use SetupWindow in Start, where window sizes are not always calculated and return 0.
It may still work in some cases, depending on the order your scripts compile.
The dirty trick I used to "fix" this issue
IEnumerator LateStart() { yield return null; SetupWindow(); }
And start the coroutine at the end of Start()
StartCoroutine(LateStart());
The background isn't rendered at all and I found why.
In Terminal.cs you use SetupWindow in Start, where window sizes are not always calculated and return 0.
It may still work in some cases, depending on the order your scripts compile.The dirty trick I used to "fix" this issue
IEnumerator LateStart() { yield return null; SetupWindow(); }
And start the coroutine at the end of Start()
StartCoroutine(LateStart());
It is not working, when you change the scene and the Terminal remain the same.
The background just become transparent.
Can you help me?
Yea, this "workaround" doesn't really work in all cases. I decided to abandon this asset since it has other bugs and issues.