-
Notifications
You must be signed in to change notification settings - Fork 25
Description
Why i try to use this extension and connect i have error appears:
An error occured when trying to attach to Hazelnut. Please make sure that Hazelnut is running and that it's up-to-date.
AND additional message:
The requested operation cannot be completed because the object has been garbage collected.
I dont understand witch object was garbage collected? My engine process or some Mono object? If this is Mono object how it knows if i even not press to play so non of scripts at this point was not be instantiated. I also load all .pdb files without errors, so any idea can fix this problem?
NOTE: I try to connect to my engine, but my mono code base basically identically with the Hazel. Only difference it how i load assemblies and open images. I don't think thats the case, because i can freely write scripts in engine and process it without crashes or problems.
NOTE2: Also i want to say that it actually connects to debugger, because if i even not run the engine different error popups, with message:
The remote host forcibly terminated the connection.
NOTE3: Next thing that i try is to little rewrite this extension specific for my engine, because i thought maybe this extension works only with Hazelnut process, but i cannot build it because i cannot find anywhere the Mono.Debugging.VisualStudio.dll. Literally no info about this dll i can find. Only one version of this file on VSMonoDebugger repo, but that dll very old and incompatible with VisualStudio 2022.
