I just upgraded to Unity 2020.1.61f because in the version i was using i couldn't open the 'shader graph' window.
The upgrade fixed my problem of not being able to open the shader graph window but now i can't seem to build my game as WebGL anymore.
I created a 'development' build to see what was going on and the error i am getting is a 'maximum call stack size exceeded'. When i check the console (chrome) i see that it is doing this (for infinity)
at _MainCamera_CalculateUnityUIAspectRatioCorrection_mE2586CA41E9C5712001BB3C430A4B7F2B86AF77C (:49701/Build/test.wasm:wasm-function[37905]:0xe5c44d)
at _MainCamera_RecalculateRects_mBB2BBF5D40E815E66DFDA9ACAC477FD03EEECB95 (:49701/Build/test.wasm:wasm-function[37896]:0xe5ad37)
at _MainCamera_GetPlayableScreenArea_mB9E18E0279A433BD02C1DDF6F39B8EE95F5A760D (:49701/Build/test.wasm:wasm-function[37906]:0xe5c5ff)
at _MainCamera_CalculateUnityUIAspectRatioCorrection_mE2586CA41E9C5712001BB3C430A4B7F2B86AF77C (:49701/Build/test.wasm:wasm-function[37905]:0xe5c44d)
at _MainCamera_RecalculateRects_mBB2BBF5D40E815E66DFDA9ACAC477FD03EEECB95 (:49701/Build/test.wasm:wasm-function[37896]:0xe5ad37)
at _MainCamera_GetPlayableScreenArea_mB9E18E0279A433BD02C1DDF6F39B8EE95F5A760D (:49701/Build/test.wasm:wasm-function[37906]:0xe5c5ff)
at _MainCamera_CalculateUnityUIAspectRatioCorrection_mE2586CA41E9C5712001BB3C430A4B7F2B86AF77C (:49701/Build/test.wasm:wasm-function[37905]:0xe5c44d)
at _MainCamera_RecalculateRects_mBB2BBF5D40E815E66DFDA9ACAC477FD03EEECB95 (:49701/Build/test.wasm:wasm-function[37896]:0xe5ad37)
at _MainCamera_GetPlayableScreenArea_mB9E18E0279A433BD02C1DDF6F39B8EE95F5A760D (:49701/Build/test.wasm:wasm-function[37906]:0xe5c5ff)
at _MainCamera_CalculateUnityUIAspectRatioCorrection_mE2586CA41E9C5712001BB3C430A4B7F2B86AF77C (:49701/Build/test.wasm:wasm-function[37905]:0xe5c44d)
This keeps repeating forever, hence the call stack exceeded error.
I saw that GetPlayableScreenArea
is a function that adventure creator exposes, is something in here not working with this version of Unity?
It looks like you're new here. If you want to get involved, click one of these buttons!
Comments
The build problem with WebGL is a known issue and a fix will be included in v1.72.0. As you tested an earlier package, I shall PM you a more recent one that should fix it.