armory3d / armory3d/armory

Unknown Error

Open
#2,728 1 comment 0 reactions 0 assignees View on GitHub
bug
Dominant language
C++
Stars
3.3k
Forks
353
Avg merge
3d 16h
Merged PRs (30d)
1

Description

Thank you for contributing to Armory!

**Description**
When I try to build the project in C++ I got an error on starting the program with the name "Unknown error".
I have an idea from what is cause that but is strange for me to solve it because is work fine on Blender play, partially on Haxe publish and not at all on C++ publish. It's about and custom script, I got the standard "WalkNavigation" script and I created an custom script to have it as node, to be more easy to edit some stuffs.

**BTW** Another strange error is when the gizmo is scale (base on object distance between the cube and camera) if the gizmo parts are in a parent object, visually the gizmo is scale fine when I scale just the parent object, but on ray cast they are smaller, I mean the original size is used for the ray cast, what is strange because on translation I also move just the parent and the ray cast is fine with the location.

**To Reproduce**
I will upload the project files to test it. Is a small gizmo prototype what is work just on the X translation.

**Expected behavior**
To work obviously. I assume like custom scripts are not well translated on publish because just the mouse for the camera rotation is working when publish it as haxe for windows.

**System**
Blender: 3.3.2 LTS
Armory: 2022-12a
OS: Windows 10 Pro N
Graphics card: nVidia GeForce MX230

**Test File**
The project with the custom script also.
[UnknownError.zip](https://github.com/armory3d/armory/files/10304631/UnknownError.zip)

**Preview**
That new custom node inspired from the **WalkNavigation** standard script.
![image](https://user-images.githubusercontent.com/58650442/209578851-0332055a-29da-4213-9736-160245c4adcc.png)

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by reproducing the report with UnknownError.zip, comparing Blender play, Haxe Windows publish, and C++ publish. Inspect the custom node inspired by WalkNavigation, then separately test the parent-scaled gizmo's visual size against its ray-cast size. Done means the relevant publish path works and the gizmo interaction matches its displayed scale.

Written by the indexing model from the issue text.

Assessment

Tech stack
blender
Domain
build-system, game-dev
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.