File import/export issue - intel mac/ppc

I’ve noticed a problem with file comparison between intel macs and power pc’s.

When exporting/importing, between intel mac and ppc it doesn’t always work. Files have to be manually added. (happens with materials, prefabs)

Is the endian flip being done, because it doesn’t seem to be done when importing heightmap raw or exporting heightmap raw between intel mac and ppc?

Is this already fixed in the next version?

Are you talking about files you compare manually through code? in that case the endian handling would be your job

No.

Through the menu. :slight_smile:

Assets/Import Package…
Assets/Export Package…

and

Terrain/Import Heightmap - Raw…
Terrain/Export Heightmap - Raw…

Thats clear

But you mention “file comparision”
so how do you compare them?
As the file logically will be system dependent. When you do it on PPC its PPC, when you do it on Intel its Intel

So far I haven’t seen any issues importing packages generated from Intel Macs into my PPC Mac, or vice versa.

–Eric

I’ve seen lots of chatter on irc about prefabs breaking, perhaps if I would have worded my question differently… or titled the post differently.

Anyways, the irc chatter tells me this does indeed happen alot.

I’d still like to know if it’s going to be fixed.

thanks

That chatter must be really old, as I’m pretty sure all known endianess bugs have been fixed a looong time ago.

If not, then someone has forgot to report the issue using Report Bug.app :slight_smile:

Actually it was yesterday morning.

Thanks for posting and acknowledging the bug.

If you export on a PPC then import on a PPC it updates the correct files and if you double click the package again it doesn’t want to update anything. Which is correct.

But if you export on an Intel Mac and import on a PPC it wants to update more files than it should and then if you double click on the package it wants to update everything again.

If you export the Terrain Heightmap - Raw on PPC and the format is set to Mac, and try to import it on an Intel, you have to set the format to Windows in order for it not to be messed up.

If you export the Terrain Heightmap - Raw on an Intel and the format is set to Mac, you have to set the format to Windows on the PPC in order for it not to be messed up.

Why does the format have to be switched to the opposite when going from PPC to Intel Mac or vice versa?

This is in version 2.1

thx