armory3d / armory3d/armory

[hashlink] DebugConsole: expanding RigidBody Attributes will crash

Open
#2,405 2 comments 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

- select an object with a Rigid Body in the ingame debug console
- scroll down to `Properties (Object)`
- click `armory.trait.physics.bullet.RigidBody [Details]`
- try to expand `Attributes` in the appearing trait view
- app will crash with `Uncaught exception: Can't cast i132 to String`

The attributes will show in Krom builds, but crash in hashlink.

Blender: 2.93.5
Armory: armsdk 001142f923608ea8b2d56a1a353d6613f30166cc (with some unrelated manual merges)
OS: debian 9

Contributor guide

No contributing guide indexed for this repository

Research direction

Reproduce the crash in the ingame debug console by opening a RigidBody trait and expanding Attributes in a hashlink build; compare the same action in a Krom build. Trace the RigidBody Attributes view and the failing i132-to-String cast. Done means Attributes expands without crashing in hashlink while retaining the reported Krom behavior.

Written by the indexing model from the issue text.

Assessment

Tech stack
blender
Domain
game-dev
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
42/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.