Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
jrfoxw opened this issue May 1, 2024 · 4 comments

Comments

@jrfoxw
Copy link

jrfoxw commented May 1, 2024

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

  • Version used: 1.7
  • Operating System and version : Windows 11

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

@ianharrigan
Copy link
Member

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
Copy link
Member

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

@jrfoxw
Copy link
Author

jrfoxw commented May 2, 2024

@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
Copy link
Author

jrfoxw commented May 5, 2024

@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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants