Getting "Byte order could not be determined" error when opening up Ensight Case Gold files written from ANSYS Fluent 2021R2

I just found out the solution. For someone that are still facing the issue can try this.

So I just found out that Ensight case gold files cannot handle part id above 65000. I had a part id of 85091. This part ID can be seen in ANSYS Fluent. Each zone and boundary has an ID that can be seen in Fluent boundary conditions and zone conditions tree. The ID is just beside the name of the zone or boundary. You will need to change this ID for each zone and boundary that has a value above 65000. This can be done using the following command in Fluent TUI.

(set-thread-id (%get-thread-by-id old-id) new-id)

e.g. - (set-thread-id (%get-thread-by-id 85091) 1)

After this is done, export the binary ensight case gold file and than you should be able to open it in Paraview.