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

Connection Error #1

Open
KennyProgrammer opened this issue Feb 2, 2023 · 0 comments
Open

Connection Error #1

KennyProgrammer opened this issue Feb 2, 2023 · 0 comments

Comments

@KennyProgrammer
Copy link

KennyProgrammer commented Feb 2, 2023

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?

image

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.

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

1 participant