jcward / hxtelemetry

Haxe Telemetry Generator for hxScout
MIT License
61 stars 13 forks source link

Program crash when trying to run hxTelemetry #69

Open SplatterDash opened 1 year ago

SplatterDash commented 1 year ago

Heyo! I'm currently doing work for a Flixel project that would use hxTelemetry to figure out memory allocation issues, but I'm running into issues getting it to start. From what I noticed on the hxScout user guide, specifically under "Telemetry Setup - OpenFL 3.1.1 or newer", I followed the directions and then some, including the haxedef's and haxelib in the Project.xml file and modifying a few backend files to prevent deprecation errors and update the now-outdated AMFWriter with AMFio from FeathersUI.

My issue is that running the program without the -Dtelemetry flag works as intended, but running with the flag causes the "Program is not responding, hang on while Windows sends a crash report" window to appear when the code runs the ApplicationMain.exe file in testing.

Some other specs I think might provide some insight to my issue:

Any ideas as to what's causing my issue?

mrcdk commented 1 year ago

I had the same issue. The game crashed. I fixed it by following the steps of this issue https://github.com/HaxeFoundation/hxcpp/issues/626#issuecomment-335843891 After changing that line build the game again. Now the game takes about 20 seconds to start, but once it does, it runs fine while logging the telemetry :+1: