viacheslav-lozinskyi / MetaProject

Work with project files newer been so simple!
Other
9 stars 1 forks source link

Incompatible with Visual Studio Tools for Unity #12

Closed tgaldi closed 3 years ago

tgaldi commented 3 years ago

Selecting Debug->Start Debugging does not start the debugger.

It will work the very first time after I restart my machine, but after stopping debugging it will not work again.

iw7nTotOtQ

SpiritV commented 3 years ago

Thank you for the reported bug.

However even in captured video I have open questions:

  1. I don't see working MetaProject. Is it installed and enabled in that time?
  2. I don't see any opened solution. Absolutely unclear what should be started?
  3. Absolutely unclear which result is expected?
tgaldi commented 3 years ago

image

Without MetaProject: YNW8D0Xkcp

viacheslav-lozinskyi commented 3 years ago

Ok, I see that something is started, but I still don't see MetaProject output tool.

Also from this example I don't see any problem. You start application, and after that you stop application. Where is a problem?

tgaldi commented 3 years ago

I cannot start debugging with metaproject enabled.

viacheslav-lozinskyi commented 3 years ago

Could you make video with opened MetaProject tool and starting of your application?

tgaldi commented 3 years ago

The first time it is enabled and debugging is started then stopped: image

Afterwards: CNMr2zGBkn

viacheslav-lozinskyi commented 3 years ago

Now I see the problem.

I will make test application on Unity and will try to reproduce it. If I can reproduce the bug, it will be fixed in the next release.

Thank you for the reported bug.

viacheslav-lozinskyi commented 3 years ago

vs unity sample

I can't reproduce this bug. Unity example is working fine.

tgaldi commented 3 years ago

Are you using the Unity Editor? The game should not play when you start debugging. Also, it does work the first time, but after stopping debugging and starting again it no longer works.

viacheslav-lozinskyi commented 3 years ago

I took example from Unity Editor, and made Visual Studio project from Unity project. After that I have opened this VS project and started/stopped it many times. It works correctly.

I didn't make such video just by reason that Git allow attach files to comment with maximal size 10Mb.

viacheslav-lozinskyi commented 3 years ago

https://user-images.githubusercontent.com/51988029/111266121-c1a16a00-8632-11eb-8559-454dbe21aec6.mp4

This video demonstrates that it works when start application many times

tgaldi commented 3 years ago

I've done some more testing and it seems to be related to starting and stopping without hitting play in the editor:

qG6mJM22oj

viacheslav-lozinskyi commented 3 years ago

I will try to reproduce it, thank you for the information.

viacheslav-lozinskyi commented 3 years ago

MetaProject 2.0.1 is released. Could you check is this bug fixed?