haxeui / haxeui-core

The core library of the HaxeUI framework
http://haxeui.org
MIT License
338 stars 69 forks source link

Shows "Null access _.cameras" when using Haxe-UI 1.7 with Haxe 4.3.4 and moving the mouse. #601

Open jrfoxw opened 2 months ago

jrfoxw commented 2 months ago

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

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 image

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

Hope someone can help figure this out, its driving me a bit crazy lol.

ianharrigan commented 2 months ago

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

ianharrigan commented 2 months ago

oh, hang on, just re-read, you are saying this was fine with 1.6? Can you provide a test project?

jrfoxw commented 2 months ago

@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 ). image Switching to 1.7.0 for both core and heaps, causes the error in the ui when moving the mouse.

jrfoxw commented 2 months ago

@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.

image image

Test UI: TESTUI.zip