Weird error from orthographic camera (SOLVED)

Hi, I’m using the orthographic camera. I’ve three collections and each has an instance of the camera.

I’m getting a weird error from using orthographic camera. Can’t understand what it’s stemming from.

This is the code of the lines mentioned in the error.

Any and all help would be very much appreciated. Thanks.

Most likely related: Crash when app comes back from sleep

Seems likely. The error does happen when I come back to defold app after a while. Any idea what I can do to fix this?

Until there is a real fix, I suppose patching the error is the only option.

Does this happen only on iOS for you too? On what device(s)?

I’m getting the error on desktop using Windows 10 when I’m using the Debug option on the defold app.

1 Like

I’ve released a new version of the camera which should solve your problem. Please try the latest version (2.10.1).

3 Likes

Thank you so much. Will try it right now.

1 Like

@britzl - After over 12 hours, no error. Thank you so much.

1 Like

@britzl - Looks like regression. We see this issue on PC and Web now. 3.3.0 version.

Back from sleep then “orthographic/render/orthographic.render_script:64: argument #1 contains one or more values which are not numbers: vmath.matrix4(0.00096339115407318, 0, 0, -1, 0, inf, 0, nan, 0, 0, -1, -0, 0, 0, 0, 1)” with different numbers.

Please create a GitHub issue!

done - link added

Fixed!

thank you very much!

1 Like