I’m not sure why , but you should be able to see a line linking both upstream and downstream to ensure that its actually connected . Perhaps it would be better if you can provide some images or the files you are working on .
One workaround is to connect both cross sections using a lateral structure with low weir coefficient to simulate flow across both cross section in the event of over topping.
In my case , my cross sections always turn out straight or based on the cutline I drawn on DEM. The only time my cross section zigzag is when I deal with data points from field survey . Sometimes my exported cross section doesn’t turn up in the correct position , so I have to adjust them through XS cut line table .
If thats the case , you should use the datum adjustment in HEC-RAS to correct the elevations manually. Normally you should able to obtain the same cross section before and after export.
Is your elevations correct before exporting ? You could view your cross section before exporting it . Another note is make sure you digitise your cross section left to right facing downstream .
I’m not familiar with AutoCad Civil3D , but you should be able to export your streamline and cross section as .geo file to be imported into Hec-Ras. There are several issues that cause your streamline to not be exported properly . Another workaround is to “redraw” your streamline either through Hec-Ras or external GIS programs.