I've been unable to generate a new game with random stars. Game freezes after player race creation, and when I reload I just get a blank screen where clicking on anything throws an error from Function $155. With real stars turned on it works okay. DB attached, I don't believe I've done any modding beyond tweaking a few tech or component names/values. I recall there was a bug about this in v2.0 - maybe something in that wasn't completely fixed?
Finally tracked this one down. There is a rare potential problem in random stars system generation for systems with at least three stars. This affects all system generation, not just at start, and explains similar reported bugs in earlier versions. The reason it affects game startup quite frequently is that the game generates a lot of systems to find a suitable NPR starting system, so there is a lot more system generation happening in game creation than is obvious.
The system generation code tries to enforce a minimum and maximum distance between stars. For example, if Component C orbits Component B (which itself orbits A), then the Maximum Orbital Distance is 1/3rd of the distance from C to A. If C orbits A, then the Minimum Orbital Distance will be at least 3x further out than B. This gets more complex with four stars. There is also a secondary consideration, which is that the minimum distance between two stars cannot be less than the combined diameters of the stars involved.
The bug is caused by rare situations involving massive stars in trinaries and quaternaries where the minimum distance is greater than the maximum distance, so the code that keeps trying orbits until it finds a suitable one goes into an endless loop.
I've added some new code that will intervene at this point and either use the average of the min and max, or the combined diameters plus 20%, whichever is greater. It might result in the occasional cramped system, but it should be fine in general (and much better than the current situation).
EDIT - this situation was exacerbated by another problem. I just realised that I was using Sol Diameters for the size of Stars, when everything else is in AU. That meant for the purposes of the above calculation, the stars were assumed to be 100x larger than their actual diameter, which lead to the min-max problem happening far more often. Aaargh! This went unnoticed for so long because I don't play random stars games.