ReSharper Massive Overhead for Unreal Engine Indexing
Hey everyone,
I have been trying to find a solution on the web for how to deal with the massive overhead when "Loading Data" in ReSharper with new projects in Unreal Engine.. However I can't seem to find anything anywhere that is useful on the topic. Does anyone have any advice? Thanks.
Jay
Please sign in to leave a comment.
Hello,
By "Loading Data" do you mean initial indexing process when ReSharper shows a progress bar in the lower right corner with "Updating source files"? Unfortunately it takes a lot of time to index the entire UE solution (around 15 minutes on my machine). If you still want to try using ReSharper with UE, please make sure to install ReSharper 2017.1, as it has a number of performance improvements compared to the previous releases.
Thanks!
@Igor Akhmetov I also develop unreal engine plugins with ReSharper C++(2017.3). I'd to say the new ReSharper C++ is very faster than previous versions, but each time I open these visual studio projects, the actions such as [Loading symbols, Updating Sources ...etc..] will slow down the visual studio main window obviously. I guess the heavy time of [Loading Symbols, Updating Sources] is spend on processing the unreal engine sources, but the unreal engine sources is {constant} and {shared-between unreal engine plugin projects}. Can I configure something to let all unreal engine plugin projects share the common engine library?
Hello,
Unfortunately there's no way to share cache data between solutions for now.
If you are developing a plugin, do you really need to index the entire UE codebase? Please try excluding the engine code from indexing in the "Third-party code" options page (see e.g. https://blog.jetbrains.com/rscpp/whats-new-in-resharper-c-2017-1/#performance how to do this). The header files that you include will still be processed by R++. You can share the exclusion settings between solutions if you wish.
Hi,
I've been using Reharper with Unity for almost 3 years now. I've recently started working with Unreal, how is the experience of using the latest version of R++ with Unreal right now?
Hello,
The initial indexing of the Unreal engine will take some time, and ReSharper might make the Visual Studio less responsive due to the size of the solution. You can always try an evaluation version and see if it works for you.
We are also considering the idea of adding R++ to Rider so that Rider works for both Unity and Unreal projects. The main blocker here is the lack of a native debugger integration, but stay tuned.
I can't get Resharper to not index Unreal Engine on loading a UE4 project solution. I've tried adding UE4 vcxproj file and the UE4 string to various ignore settings.
Hello,
Please try the 2018.3 EAP 8 build from https://www.jetbrains.com/resharper/eap/. ReSharper C++ 2018.3 will index UE sources in background automatically after all the user files get indexed.
@erubi and others looking to disable indexing UE engine sources.
This worked for me:
Resharper > Options... > Code Editing > Third-Party Code
Add the following mask to Skipped Code, File masks (top-right list):
engine\**
--- you may need to restart VS because Resharper will start saving the indexes it got hold of before you changed the settings, which may be a lot.
I use a best-money-can-buy principle: I have a 1TB Samsung 970 pro M.2 disk, 32GB ram and AMD Ryzen 7 2700X and it still takes forever. I let it do its thing for over 30 minutes, still not done... So, no index it is then :).