Rider\with unreal 5.1 sluggish on first time loading the projecty and frequent cache corruptions

Rider v2022.3.2 Unreal Engine 5.1 

I don't know if this is a Rider issue or Unreal, but I'm getting completely fed up with this program and am going to stop using it soon if this doesn't get fixed. 

After I launch Unreal engine with a project, Rider frequently seems to be processing files and takes ages to load, during that process I don't know what Rider is doing or if it is even working as there is no message on the screen.

if I leave it long enough it seems to load though sometimes it comes up with a cache corruption message forcing a restart of the ide.  This is happening at least twice a week.

I am doing a tutorial project so its nothing  that heavy, it never used to to this with unreal 5.03 \ earlier versions of rider so whats changed?

 

 

0
3 comments

Hello Jeremy Moss,

This behavior sounds like a bug. Would you mind clearing caches once (File->Invalidate Caches) to see if the issue persists?

 

If you still notice this problem after clearing the cache, please:

  • Use Help->Diagnostic Tools->Choose Trace Scenarios action and pick CppCaches scenario
  • Reproduce the issue
  • Collect Rider logs (Help->Collect Logs) and disable the tracing scenario
  • Send us the generated log archive using the Upload Service and let me know the Upload ID

Let you have any questions.

0

I have done what you advised and the project seems to be loading faster. 

What I have noticed though is that when I create a new C++ class (It was a  new AIController this time) unreal automatically started  a live code process to compile the class.

Live coding was taking a very long time (far longer then what Rider takes to compile a project) so I cancelled live coding and closed unreal engine  so I could  get Rider to complete a full compile. 

This made Rider do another re-indexing of the unreal engine which tooka long time but as it was reported as a background task I tried to compile the code whilst it was going on. Rider reported there was no project though I could see it on screen? so I closed Rider down, reopened the project  and waited for it to complete indexing.

When Rider completed indexing  I performed a recompile and it compiled ok , it also took far less time then what Unreal live code was doing. 

I have disabled Unreals editor Live coding  to auto compile on C++ classes on creation to see if this helps, I don't usually use live coding for new c++ classes so I guess this function must of been set to on by default. 

 

0

Hi Jeremy Moss,

Would you mind trying the recently released Rider 2023.1 EAP 4 and letting us know if you encounter any issues with or without Live Coding enabled?

Please note that Rider 2023.1 will reindex the engine the first time you open it. This process triggers once per project, we plan to limit reindexing to once per engine version in the future, but I cannot give you an exact ETA at this time.

0

Please sign in to leave a comment.