Welcome to Armory! Please visit the setup page: https://github.com/armory3d/armory/wiki/setup
armory3d / armsdk Goto Github PK
View Code? Open in Web Editor NEWSingle-clone Armory SDK
Single-clone Armory SDK
Welcome to Armory! Please visit the setup page: https://github.com/armory3d/armory/wiki/setup
Hi,
it's work if I play from blender ( blender -> armory player -> play )
but not work from code ( I use code-insiders )
it's get this problem
Compiling shader 1 of 20 (Material_mesh.frag.glsl).
Error compiling to GLSL 110: Unsigned integers are not supported on legacy targets.
Compiling shader 1 of 20 (Material_mesh.frag.glsl) failed:
Shader compiler error.
The terminal process "bash '-c', 'node /home/techcomet/Sdks/armsdk/Kha/make.js krom --debug'" terminated with exit code: 1.
Terminal will be reused by tasks, press any key to close it.
Note: Legacy Shaders is disabled
Kubuntu 20.04
window10
blender3.3.0
armory2303
No graphics card
armory player flash across,Is this the reason for not having a graphics card?
The addon fails to initialize when using armsdk locally.
@MoritzBrueckner Seems this error got introduced with changes to the addon reload process.
Read prefs: /home/tong/.config/blender/2.93/config/userpref.blend
Traceback (most recent call last):
File "/home/tong/.config/blender/2.93/scripts/addons/armory.py", line 631, in on_load_post
restart_armory(bpy.context) # context is None, use bpy.context instead
File "/home/tong/.config/blender/2.93/scripts/addons/armory.py", line 626, in restart_armory
start_armory(sdk_path)
File "/home/tong/.config/blender/2.93/scripts/addons/armory.py", line 591, in start_armory
start.register(local_sdk=use_local_sdk)
File "/home/tong/dev/armory/armsdk/armory/blender/start.py", line 66, in register
arm.props.register()
File "/home/tong/dev/armory/armsdk/armory/blender/arm/props.py", line 531, in register
arm.utils.fetch_bundled_script_names()
File "/home/tong/dev/armory/armsdk/armory/blender/arm/utils.py", line 321, in fetch_bundled_script_names
with WorkingDir(get_sdk_path() + '/armory/Sources/armory/trait'):
File "/home/tong/dev/armory/armsdk/armory/blender/arm/utils.py", line 47, in __enter__
os.chdir(self.cwd)
FileNotFoundError: [Errno 2] No such file or directory: '/armsdk/armory/Sources/armory/trait'
Read blend: /home/tong/dev/armory/armory_gh_actions2/test/empty.blend
Traceback (most recent call last):
File "/home/tong/.config/blender/2.93/scripts/addons/armory.py", line 631, in on_load_post
restart_armory(bpy.context) # context is None, use bpy.context instead
File "/home/tong/.config/blender/2.93/scripts/addons/armory.py", line 626, in restart_armory
start_armory(sdk_path)
File "/home/tong/.config/blender/2.93/scripts/addons/armory.py", line 591, in start_armory
start.register(local_sdk=use_local_sdk)
File "/home/tong/dev/armory/armsdk/armory/blender/start.py", line 58, in register
arm.props_traits_props.register()
File "/home/tong/dev/armory/armsdk/armory/blender/arm/props_traits_props.py", line 152, in register
bpy.utils.register_class(ArmTraitPropWarning)
ValueError: register_class(...): already registered as a subclass 'ArmTraitPropWarning'
Is it possible for someone to compile Krom with the fixes mentionned in the title for Linux ?
You guys spotted the error and know how to fix it. I don't think there is anything else to do than that regarding this issue.
OS: Windows 10
Blender: 2.79b
Following the instructions of the README.md and/or the official manual (https://armory3d.org/manual/#/dev/gitversion?id=manual-clone) will produce a broken SDK.
If you switch in blender the armory addon to use it, it will fail even for the basic example (new file -> save -> select cycles -> Click "Play" button).
The console output:
...
Compiling shader 7 of 8 (painter-video.frag.glsl).
Compiling shader 8 of 8 (painter-video.vert.glsl).
C:\...\Armory\sdkmaster\armory\Sources/armory/system/Starter.hx:40: characters 46-76 : Class<kha.WindowOptions> has no field FeatureResizable
C:\...\Armory\sdkmaster\armory\Sources/armory/system/Starter.hx:41: characters 48-80 : Class<kha.WindowOptions> has no field FeatureMaximizable
C:\...\Armory\sdkmaster\armory\Sources/armory/system/Starter.hx:42: characters 48-80 : Class<kha.WindowOptions> has no field FeatureMinimizable
C:\...\Armory\sdkmaster\armory\Sources/armory/system/Starter.hx:45: characters 129-143 : Int should be Null<kha.WindowFeatures>
C:\...\Armory\sdkmaster\armory\Sources/armory/system/Starter.hx:45: characters 129-143 : Int should be kha.WindowFeatures
C:\...\Armory\sdkmaster\armory\Sources/armory/system/Starter.hx:45: characters 129-143 : For function argument 'options'
Haxe compiler error.
Finished in 6.986127138137817
Build failed, check console
Hello everyone.
I had issues with Armory, even the default scene will not play with player.
I'm getting this in the terminal:
user@system:~$ blender
Read prefs: /home/user/.config/blender/2.83/config/userpref.blend
Armory: Proxy objects synchronized
LLVM triggered Diagnostic Handler: Illegal instruction detected: VOP* instruction violates constant bus restriction
renamable $vgpr3 = V_CNDMASK_B32_e32 32768, killed $vgpr3, implicit killed $vcc, implicit $exec
LLVM failed to compile shader
radeonsi: can't compile a main shader part
Read blend: /home/user/Scaricati/untitled.blend
Armory v2021.5 ($Id: e4b950f78eb7c1ac9e65f2ad87920132e33cc61d $)
Exporting Scene
Scene exported in 0.030s
Error compiling to GLSL 110: Unsigned integers are not supported on legacy targets.
Compiling shader 2 of 20 (Material_mesh.frag.glsl) failed:
Shader compiler error.
(node:7272) UnhandledPromiseRejectionWarning: Unhandled promise rejection (rejection id: 2): Shader compiler error.
(node:7272) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.
Finished in 3.818s
ERROR: Build failed, check console
Saved session recovery to '/tmp/quit.blend'
Error in sys.excepthook:
Original exception was:
Blender quit
AL lib: (EE) alc_cleanup: 1 device not closed
user@system:~$
And I don't know where the console is (the error requires me to open the console log)
Thanks in advance for any help.
Regards.
I'm trying to clone armsdk git repo, following directions from https://github.com/armory3d/armory/wiki/gitversion
I'm stuck at
git submodule foreach --recursive git pull origin main
getting this: https://pastebin.com/gqD8jPGP
what's wrong?
Thanks for any help.
Thanks to #24 we now have a Github action that builds the latest API documentation on each release, however it's currently not deployed to armory3d.org/api (source repo). Instead it's deployed to armsdk/gh-pages which is not "connected" to the website. Is it possible to deploy to the actual API repo instead, then update the submodule here and trigger a rebuild of the website?
Hello everyone.
I downloaded Armory from itch, but if I try to install the zip file, nothing happens, neither an error, nor the ability to enable it.
Please, can someone help?
Thanks
the file .gitmodule in Kha is missing the linux_arm repo, which is needed by armory.py.
I have tried adding the module but even though it says that it's extracting it, the files don't appear in the Tools folder.
I also tried removing linux_arm from the sdk path in armory.py but it's still looking for linux_arm.
It would be nice to have the armory python api documented.
Maybe it could also improve code quality.
I've tried to use pdoc (→ https://tong.github.io/armsdk/blender/arm/) which is skipping a lot of code with errors (i think partly) related to usage of fake-bpy-module.
pdoc --html --output-dir api/blender armory/blender/arm --skip-errors
Since i am not familiar with any python doc generator, please tell me if you know a better tool or how to fix pdoc generation.
Using blender 2.82 and updating the SDK leads to this error:
Read prefs: C:\Users\Don\AppData\Roaming\Blender Foundation\Blender\2.82\config\userpref.blend
AL lib: (EE) UpdateDeviceParams: Failed to set 48000hz, got 44100hz instead
found bundled python: C:\Program Files\Blender Foundation\Blender 2.82\2.82\python
Traceback (most recent call last):
File "C:\Users\Don\AppData\Roaming\Blender Foundation\Blender\2.82\scripts\addons\armory.py", line 260, in execute
start.register(local_sdk=local_sdk)
File "C:\Users\Don\Documents\blender\Addons\Amory 3D\armsdk//armory/blender\start.py", line 33, in register
arm.nodes_logic.register()
File "C:\Users\Don\Documents\blender\Addons\Amory 3D\armsdk//armory/blender\arm\nodes_logic.py", line 196, in register
register_nodes()
File "C:\Users\Don\Documents\blender\Addons\Amory 3D\armsdk//armory/blender\arm\nodes_logic.py", line 52, in register_nodes
layout_items += [NodeItem('NodeReroute'), NodeItem('NodeFrame')]
NameError: name 'NodeItem' is not defined
location: C:\Program Files\Blender Foundation\Blender 2.82\2.82\scripts\modules\bpy\ops.py:201
location: C:\Program Files\Blender Foundation\Blender 2.82\2.82\scripts\modules\bpy\ops.py:201
Error: Traceback (most recent call last):
File "C:\Users\Don\AppData\Roaming\Blender Foundation\Blender\2.82\scripts\addons\armory.py", line 260, in execute
start.register(local_sdk=local_sdk)
File "C:\Users\Don\Documents\blender\Addons\Amory 3D\armsdk//armory/blender\start.py", line 33, in register
arm.nodes_logic.register()
File "C:\Users\Don\Documents\blender\Addons\Amory 3D\armsdk//armory/blender\arm\nodes_logic.py", line 196, in register
register_nodes()
File "C:\Users\Don\Documents\blender\Addons\Amory 3D\armsdk//armory/blender\arm\nodes_logic.py", line 52, in register_nodes
layout_items += [NodeItem('NodeReroute'), NodeItem('NodeFrame')]
NameError: name 'NodeItem' is not defined
location: C:\Program Files\Blender Foundation\Blender 2.82\2.82\scripts\modules\bpy\ops.py:201
Traceback (most recent call last):
File "C:\Users\Don\AppData\Roaming\Blender Foundation\Blender\2.82\scripts\addons\armory.py", line 380, in on_load_post
bpy.ops.arm_addon.start()
File "C:\Program Files\Blender Foundation\Blender 2.82\2.82\scripts\modules\bpy\ops.py", line 201, in __call__
ret = op_call(self.idname_py(), None, kw)
RuntimeError: Error: Traceback (most recent call last):
File "C:\Users\Don\AppData\Roaming\Blender Foundation\Blender\2.82\scripts\addons\armory.py", line 260, in execute
start.register(local_sdk=local_sdk)
File "C:\Users\Don\Documents\blender\Addons\Amory 3D\armsdk//armory/blender\start.py", line 33, in register
arm.nodes_logic.register()
File "C:\Users\Don\Documents\blender\Addons\Amory 3D\armsdk//armory/blender\arm\nodes_logic.py", line 196, in register
register_nodes()
File "C:\Users\Don\Documents\blender\Addons\Amory 3D\armsdk//armory/blender\arm\nodes_logic.py", line 52, in register_nodes
layout_items += [NodeItem('NodeReroute'), NodeItem('NodeFrame')]
NameError: name 'NodeItem' is not defined
location: C:\Program Files\Blender Foundation\Blender 2.82\2.82\scripts\modules\bpy\ops.py:201
Warning: property 'release_confirm' not found in keymap item 'OperatorProperties'
It would be good if for every armory release we updated this repo and tagged it with the release number ( i.e. 0.6-alpha0 ). That way it would be easy to go back to a release for testing. For example, once I wanted to checkout Armory 0.5 because somebody on the forums said that that was the version they had, and I didn't want to download a new build of Armory when I already have git and the plugin setup.
The binary repos like Krom would end up going out of date if we reset the Krom_bin git repo because of the size, but we could at least keep the last release or two.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.