Shows "Null access _.cameras" when using Haxe-UI 1.7 with Haxe 4.3.4 and moving the mouse.
jrfoxw opened this issue · comments
CTD's when moving the mouse. Compiling and running completes with no detected issues. Same issue happens when debugging. Produces following error:
**"Null access _.cameras"**
Libraries used:
- haxe => 4.3.4
- heaps => 2.0
haxeui-core => 1.7
haxeui-heaps => 1.7
- compiled with hashlink 1.14
Expected Behavior
Should not crash when moving the mouse or debugging and moving mouse. Works as expected with version haxeui-core 1.6
& haxeui-heaps 1.6
Current Behavior
Moving the mouse causes the following error output
Steps to Reproduce (for bugs)
I was able to reproduce on a fresh setup of Haxe-UI using backend for heaps. I'm unable to click the mouse button as any movement CTD's.
Your Environment
- Version used: 1.7
- Operating System and version : Windows 11
Hope someone can help figure this out, its driving me a bit crazy lol.
haxe you tried git heaps, im pretty sure the haxelib version is severly out of date. Might make sense to use git haxeui-core / haxeui-heaps also...
If that fails, can you zip up a reproducible example and ill take a look this end.
Cheers,
Ian
oh, hang on, just re-read, you are saying this was fine with 1.6? Can you provide a test project?
@ianharrigan First: Thanks for getting on this so quick :)
haxe you tried git heaps, im pretty sure the haxelib version is severly out of date. Might make sense to use git haxeui-core / haxeui-heaps also...
Yes I tried latest version of git heaps
as well, same issue :(.
oh, hang on, just re-read, you are saying this was fine with 1.6? Can you provide a test project?
I'll try and get a test project up some time today/tomorrow, but I did get the same results just by creating a quick haxe-ui
from the getting started guide and switching to haxe-ui 1.7.0
(from 1.6.0)
Current list of installed libs when testing using 1.6.0
(the below works with no errors in the ui ).
Switching to 1.7.0 for both core
and heaps
, causes the error in the ui
when moving the mouse.
@ianharrigan
Okay here is a cheesy (lol) test example project that I created ( a while back) and updated currently running 1.7.0; This is also running in a VM of Windows 11 (Type 1) outside of my main server. So its sharing no resources from the system I had an issue with. So its as isolated as I can get it.
Test UI:
TESTUI.zip