Closed jrstrecker7852 closed 3 years ago
Hi, are you sure all Editor instances are closed when you click 'y'?
The tool specifies runas admin when it launches command-prompt so it should not matter that you're Unity is not run as admin.
If that doesn't work for any reason you can put a breakpoint in EventILWeaverCommandLineArgsGenerator.GenerateAddEventsCommandLineArgs
- that'll give you an actual command that is run in the prompt. From there you can run cmd as admin and paste the command.
Hope that helps, Chris
Chris,
Thanks for getting back to me on this. I will try your suggestions and let you know what if one of those works.
Thanks again Jim
Sent from my iPhone
On May 3, 2021, at 2:21 AM, Chris Handzlik @.***> wrote:
Hi, are you sure all Editor instances are closed when you click 'y'?
The tool specifies runas admin when it launches command-prompt so it should not matter that you're Unity is not run as admin.
If that doesn't work for any reason you can put a breakpoint in EventILWeaverCommandLineArgsGenerator.GenerateAddEventsCommandLineArgs - that'll give you an actual command that is run in the prompt. From there you can run cmd as admin and paste the command.
Hope that helps, Chris
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub, or unsubscribe.
I tried again making sure not Unity Instances were open and still received the error. I was able to capture the command arguments and ran this application in a cmd file. This seems to work (created the new DLL, but I did get the below error;
[image: image.png]
On Mon, May 3, 2021 at 4:00 PM James Strecker @.***> wrote:
Chris,
Thanks for getting back to me on this. I will try your suggestions and let you know what if one of those works.
Thanks again Jim
Sent from my iPhone
On May 3, 2021, at 2:21 AM, Chris Handzlik @.***> wrote:
Hi, are you sure all Editor instances are closed when you click 'y'?
The tool specifies runas admin when it launches command-prompt so it should not matter that you're Unity is not run as admin.
If that doesn't work for any reason you can put a breakpoint in EventILWeaverCommandLineArgsGenerator.GenerateAddEventsCommandLineArgs - that'll give you an actual command that is run in the prompt. From there you can run cmd as admin and paste the command.
Hope that helps, Chris
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/handzlikchris/Unity.MissingUnityEvents/issues/6#issuecomment-831074586, or unsubscribe https://github.com/notifications/unsubscribe-auth/AQPLW2QGDGLQ2ALUKGY7L43TLZFIPANCNFSM436PT34Q .
That image wasn't attached. What are you getting?
btw long path issue should be resolved now with latest push
Chris,
The error was an 'InvalidOperationException: Sequence contains no matching element.
On Tue, May 4, 2021 at 2:54 AM Chris Handzlik @.***> wrote:
btw long path issue should be resolved now with latest push
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/handzlikchris/Unity.MissingUnityEvents/issues/6#issuecomment-831751251, or unsubscribe https://github.com/notifications/unsubscribe-auth/AQPLW2WG44Y3USTILXNP33LTL6R2PANCNFSM436PT34Q .
Could be that the field you're tring to add was not found. Not sure - probably you're best bet is to pull https://github.com/handzlikchris/AddingEventsToCompiled3rdPartyLibrary And run that command with debugger attached. That'll give you some more info
I wasn’t adding anything at this time, but I’ll look into your suggestion.
Thanks
Sent from my iPhone
On May 5, 2021, at 3:47 AM, Chris Handzlik @.***> wrote:
Could be that the field you're tring to add was not found. Not sure - probably you're best bet is to pull https://github.com/handzlikchris/AddingEventsToCompiled3rdPartyLibrary And run that command with debugger attached. That'll give you some more info
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub, or unsubscribe.
ahh that could be why you're getting this error - maybe it's not handing empty well
I'll get this one closed, please get in touch if you need more help. thanks
When clicking on the Weave Events to DLL i get an error that the file (DLL) can not be changed because an application has it open or need admin rights. I tried opening Unity as Admin but that did not work. Not sure how unless it my Unity session that the DLL would be being used.
Any Ideas?
jrstrecker7852@gmail.com