Search Issue Tracker

Not Reproducible

Votes

6

Found in

5.4.2p1

Issue ID

845661

Regression

No

[Debugging] Crash while debugging large projects with Visual Studio Tool for Unity v2.8.2

Mono

-

Reproduction Steps:
1. Open project
2. Open the Assets/Game/Test/Scenes/PaquinTest scene
3. Open Assets/Game/Fauna/FaunaBaseController.cs script in Visual Studio
4. Add Breakpoint at line 835
5. Attach Debugger
6. Play game
7. Pres "3" to select a weapon
8. Click mouse button to shoot
Note: Debugger should hit the breakpoint
9. Step In, Step Out, Step Over or Continue
10. This might take a few minutes to reproduce

Reproduced on versions: Unity 5.5.0f3, 5.5.1p4, 5.6.0b9
Could not open project on Unity 5.4

Reproduced with Visual Studio Tool for Unity v2.8.2

Comments (4)

  1. luiner

    May 19, 2017 09:47

    In my case there is multithreaded work done simultaneusly, crashes in 70% of the time while debugging, especially when debugging main thread coroutines but this can be simply small sample /perception error.

  2. icefallgames

    Apr 25, 2017 22:14

    Unity crashes several times a day when stepping into functions while debugging in Visual Studio. It doesn't seem specific to any section of code. It just happens when I'm debugging a lot (my project is not that large).

    It would be great if this could be fixed! It's been happening for several Unity versions (currently on 5.6.0f3 personal).

  3. Tyrathect

    Mar 03, 2017 21:54

    Hi, I submitted this bug.

    I didn't realize that everything was write protected (it's under source control). There are a few steps to take when you first open the project.

    1) Make sure the following are writeable:

    * all the files in: Assets/StreamingAssets readable

    * all the files in: Assets/FMOD Builds/Desktop

    * the file: Assets/Resources/FMODStudioSettings.asset

    1) in our unity project, select the FMOD/Edit Settings menu item.
    2) click the "Single Platform Build" button in the inspector.
    3) click the Browse button next to the "Build Path" field.
    4) Select the Assets/FMOD Builds/Desktop directory

Add comment

Log in to post comment