3 ms·
A couple of pitfalls: - Using unsized C types (long in particular) that are sized differently between Windows and macOS/Linux. Combine that with cast-to-struct
by account42 5y ago
A couple of pitfalls:
- Using unsized C types (long in particular) that are sized differently between Windows and macOS/Linux. Combine that with cast-to-structs for (de)serialization and suddenly different platforms are incompatible.
- Different float rounding modes (possibly changed by some external code) that will lead to desynchronization.
Nothing that can't be fixed but considering that non-Windows PC platforms tend to be an afterthought its not hard to imagine that things like cross play are often cut.
Another thing that can happen is that the different platforms don't all have the same version. This is usually only a problem with external porting companies that don't get the code until it is finished for the main platform, but could also happen for in-hosue ports when issues crop up that only affect secondary platforms and the release is not held back for the main platform as well.
- lrem 5y agoOh my, thanks, that makes sense. But damn, that almost sounds like a problem solvable with a regular expression :/ Well, at least before you released the game and nobody will protest about save game compatibility yet.