Hello everyone,
I didn't find how to debug a generated Plugin.dll (for creating for example custom entities). I actually have a custom Plugin.dll that makes my editor crash and would love to know how to track the bug.
Any suggestion?
Thanks.
Re: How to Debug generated Plugin.dll
#2Hi if you have never modified the code then it is more than likely a configuration or asset issue or mismatch causing the crash.
My advice would be to put log_verbosity 3 in editor.cfg (might not be right name might need to use cvar find).
This should give you any warnings or errors prior to the crash in your editor.log.
Second, you can install the engine source code and run the editor using the custom engine. This will allow you to trace commands into the engine code in vs. Check my signature (guides) for setting up the engine and building your own binaries you can debug with.
There is no sandbox source code atm so no tracing into sb.
Good luck
My advice would be to put log_verbosity 3 in editor.cfg (might not be right name might need to use cvar find).
This should give you any warnings or errors prior to the crash in your editor.log.
Second, you can install the engine source code and run the editor using the custom engine. This will allow you to trace commands into the engine code in vs. Check my signature (guides) for setting up the engine and building your own binaries you can debug with.
There is no sandbox source code atm so no tracing into sb.
Good luck
Uniflare
CRYENGINE Community Coordinator
Here to help the community and social channels grow and thrive.
My personal belongings;
Beginner Guides | My GitHub | Splash Plugin
CRYENGINE Community Coordinator
Here to help the community and social channels grow and thrive.
My personal belongings;
Beginner Guides | My GitHub | Splash Plugin
Re: How to Debug generated Plugin.dll
#3Thanks for the answer, in fact I did put new entities that have specific behaviour and that is making the sandbox crash.
As I need to work with people using the Sandbox I test it only under the editor, too bad I can't trace the errors.
Nice work on the guides you made
As I need to work with people using the Sandbox I test it only under the editor, too bad I can't trace the errors.
Nice work on the guides you made

Re: How to Debug generated Plugin.dll
#4you dont have editor source code and pdb file. so you cant debug editor