stelmlu / defold-fixed-camera

Fixed camera library for the Defold.
0 stars 0 forks source link

Minimize and Maximize the window give ERROR: SCRIPT error #1

Open stelmlu opened 1 year ago

stelmlu commented 1 year ago

Minimize and then maximize the dmengine gives the error:

ERROR:SCRIPT: fixed_camera/fixed_camera.lua:47: argument #1 contains one or more values which are not numbers: vmath.matrix4(nan, 0, 0, nan, 0, 0.00390625, 0, -1, 0, 0, -1, -0, 0, 0, 0, 1)
stack traceback:
  [C]:-1: in function __mul
  fixed_camera/fixed_camera.lua:47: in function __calc_matrix
  fixed_camera/fixed_camera.render_script:130: in function <fixed_camera/fixed_camera.render_script:121>
stelmlu commented 9 months ago

Can not repeat it on a maxos (maybe already solved).