Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Closed
Tnnv opened this issue Apr 2, 2024 · 0 comments
Closed

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

Tnnv opened this issue Apr 2, 2024 · 0 comments
Labels
bug Something isn't working P1 Next release is blocked by this issue

Comments

@Tnnv
Copy link

Tnnv commented Apr 2, 2024

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

@eprikazchikov eprikazchikov changed the title Crash on calling Camera::project method Script: Crash on calling Camera::project method Apr 2, 2024
@eprikazchikov eprikazchikov added bug Something isn't working P1 Next release is blocked by this issue labels Apr 2, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working P1 Next release is blocked by this issue
Projects
Status: Done for Release
Development

No branches or pull requests

2 participants