A little safer to build the “5.0” branch but if you’ve already started UE5-main, maybe finish it out. I don’t think UE5-Main has any changes to GPULM not in 5.0, but it has many other differences.
Can you print the entirety of that log message? It might be a red herring anyway.