Open lazyremixmanordummyplayinggmod opened 1 year ago
Is there any chance you're importing Sensor
during a macro? Or importing a class that imports it?
maybe
I checked i seen nothing
Try adding conditional compilation.
public var id:Int;
+ #if !macro
public var onUpdate = new Event<Float->Float->Float->Void>();
+ #end
public var type:SensorType;
in the ones i have #if !macro in
I got this error the other day when there was an issue with something completely unrelated to Sensor.
Commit d299add52df39e9e879bbf09c3eacde851eb2dba might have been what fixed it, but i don't remember for sure.
Worth a shot. @ lazyremix, here are the steps to install from Git:
haxelib git lime https://github.com/openfl/lime.git
haxelib path lime
points to the Git version.
C:/HaxeToolkit/haxe/lib/lime/8,0,1/src/lime/system/Sensor.hx:15: characters 24-62 : Unknown<0> cannot be constructed
i'm trying to test but this error popped up i can't find any info on how to fix this i did not mess with anything in the lib folder