You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm pretty sure the IFF file model I built that's present in the library is for US data models only, so the error you are getting makes sense.
The error says that the structure present in the IFF file you have is only 248 bytes long, but the one we have a model of is 260 bytes of data, so it cannot cast the file content into the struct.
I could implement the other models as well, but that's too much work for me. As a fix you can implement your own struct type MyCaddie or alike and use it with the generic IFFFile instead.
Description: I am trying to load a Caddie.iff (from pangya_jp).
Problem: I get "System.InvalidCastException: 'The record length (248) mismatches the length of the passed structure (260)'"
Code snippet used:
Here the Caddie.iff file I am trying to load: Caddie.zip
The text was updated successfully, but these errors were encountered: