armory3d / armory3d/armory

Live Patch doesn't work or crash

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

Description

Hello everyone
unfortunately I also get no error message.
And without a Live Patch, the development process is even longer, especially for a beginner like me.
Anyone have any advice?

**Description**
Live Patch doesn't work or crash

DOESN'T WORK
`Read prefs: E:\Blender-Armory\2.93\config\userpref.blend
Running Armory SDK from E:\Blender-Armory\armsdk/
Read blend: E:\Daten\Web\Armory\***.blend
Armory v2022.5 ($Id: 66867b70c66af1cd002b5e5b76d9e7931b05e7fb $)
Exporting Scene
Scene exported in 0.031s
Finished in 16.448s
Live patch session started
Initializing a new default audio device.
Live patch session stopped`

OR

CRASH:
`Live patch session started
Initializing a new default audio device.
Trace: TypeError: Cannot read property 'hxBytes' of undefined
at Function.ofData (:35735:14)
at Function.loadBlobFromDescription (:54000:49)
at Function.loadBlobFromPath (:53055:18)
at armory_trait_internal_LivePatch.update (:31997:14)
at update (:27359:28)
at kha_TimeTask.task (:54402:4)
at Function.executeTimeTasks (:54285:76)
at Function.executeFrame (:54235:18)
at renderCallback (:55195:17)`

**To Reproduce**
Default Cube.
Save it.
F5
Rotate the Cube.
Nothing change in the Player Window.
OR
it works two or three times and crashed

**System**
Win 10 - 21H2
GTX 1070 - Latest StudioDriver
Blender 2.93.9
armory.py is 2022.5.0
And the ArmorySDK-2022-5 is also updated via GIT

Contributor guide

No contributing guide indexed for this repository

Research direction

Start with the armory_trait_internal_LivePatch.update stack-trace entry and reproduce the issue using the Default Cube, F5, and cube rotation. Compare the no-update case with the crash showing `hxBytes` of undefined; done means Live Patch updates the Player Window reliably without crashing.

Written by the indexing model from the issue text.

Assessment

Tech stack
blender
Domain
game-dev, tooling
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
32/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.