x

Search in
Sort by:

Question Status:

Search help

  • Simple searches use one or more words. Separate the words with spaces (cat dog) to search cat,dog or both. Separate the words with plus signs (cat +dog) to search for items that may contain cat but must contain dog.
  • You can further refine your search on the search results page, where you can search by keywords, author, topic. These can be combined with each other. Examples
    • cat dog --matches anything with cat,dog or both
    • cat +dog --searches for cat +dog where dog is a mandatory term
    • cat -dog -- searches for cat excluding any result containing dog
    • [cats] —will restrict your search to results with topic named "cats"
    • [cats] [dogs] —will restrict your search to results with both topics, "cats", and "dogs"

Office Holiday

Epic Games' offices will be on holiday from June 22nd to July 7th. During this period support will be limited. Our offices will reopen on Monday, July 8th. 

Incorrect slashes used in "OpenVisualStudioFilesInternalViaDTE" causes DTE issues

Tested in Windows 10, using Unreal Engine version 4.16.3 and Visual Studio 2015.

When using a game project hosted on a network share such as

\\Wts-5c2eafeab51\Shared\VehicleGame\Source\VehicleGame

"FVisualStudioSourceCodeAccessor::OpenVisualStudioFilesInternalViaDTE" gets reversed slashes, such as

//Wts-5c2eafeab51/Shared/VehicleGame/Source/VehicleGame

When the reversed slashes are used at

if ( SUCCEEDED(ItemOperations->OpenFile(COMStrFileName, COMStrKind, &Window)) )

The file opens, but the DTE document will be malformed. The malformed DTE document causes issues for our Visual Studio plugin, Visual Assist.

This is a Visual Studio bug, but if you would be so kind as to send the correct Windows network path style slashes we would be grateful.

Product Version: UE 4.16
Tags:
more ▼

asked Aug 10 '17 at 04:55 AM in Bug Reports

avatar image

WTChrisG
51 3 1

avatar image Whole Tomato Oct 01 '17 at 04:54 PM

The issues Chris alludes to prevent any extension to Visual Studio, including Visual Assist, from editing the shared document. When Visual Assist attempts to edit, Visual Studio displays the vague message: "The operation could not be completed. Unspecified error."

The user's workaround is to close the document and open it from within Visual Studio.

The UE4 editor could avoid the bug in Visual Studio, thereby preventing extensions from faltering, if the editor preserved the file name's backslashes.

(comments are locked)
10|2000 characters needed characters left
Viewable by all users

0 answers: sort voted first
Be the first one to answer this question
toggle preview:

Up to 5 attachments (including images) can be used with a maximum of 5.2 MB each and 5.2 MB total.

Follow this question

Once you sign in you will be able to subscribe for any updates here

Answers to this question