Skip to content

Script: Crash on calling Camera::project method #719

Description

@Tnnv

Description

Calling Camera::project method lead to editor crash.

Code example:
Camera @camera_component = cast<Camera>(camera.component("Camera"));
Matrix4 vm = camera_component.viewMatrix();
Matrix4 pm = camera_component.projectionMatrix();
vc = camera_component.project(Vector3(10.0f, 10.0f, 0.0f), vm, pm);

(https://doc.thunderengine.org/en/latest/reference/camera.html#api-camera-project)

Steps to Reproduce

  1. Use Camera::project method somewhere in the code
  2. Start game session

Actual behavior:

Editor crashes.

Versions

Build Version: 2024.2
Build Revision: ddfca62
Build CPU Architecture: x86_64
OS Name: Windows 10 Version 2009
OS CPU Architecture: x86_64
Kernel version: 10.0.19045

Additional Information

TurnBased.zip

Metadata

Metadata

Assignees

No one assigned

    Labels

    P1Next release is blocked by this issue

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    Status
    Done for Release

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions