"Goto Definition" opening new instance of Visual Studio

  1. Create or select any C++ project.

  2. Generate solution file for it and open solution in Visual Studio.

  3. Compile and run project from Visual Studio (Ctrl + F5).

  4. Create any Blueprint file, and insert any node from C++

  5. Right click on this node and select “Goto Definition”.

  6. New instance of Visual Studio will be opened for this project. And in LOG will be added:

    LogSelectionDetails: Warning: NavigateToFunctionSource: Found symbols for [USceneComponent::K2_AddLocalRotation] - File [d:\build++ue4+release-4.18+compile\sync\engine\source\runtime\engine\private\components\scenecomponent.cpp], Line [3510], Column [0]
    LogVSAccessor: Warning: Visual Studio is open but could not be queried - it may be blocked by a modal operation

Expected behavior (4.17 for example): files will opening in existing instance of Visual Studio.

Hey mdeni-

This is a symptom of a known issue that has been reported here: Unreal Engine Issues and Bug Tracker (UE-51608) . Unfortunately we do not yet have time frame for when the fix for this issue will be implemented.

Cheer

I can reproduce this in 4.25.

Open BP_MotionController in the VR template. RumbleController. GetPlayerController() → Goto Definition.

It cannot find the file and opens a new VS