- Home /
Error building player (unsupported data)
This question has been asked before, but all answers point to NGUI and text materials as the problem. This is not the case, here, as I'm not using NGUI.
I get three errors when attempting to build for Mac:
An asset is marked as dont save, but is included in the build:
Asset: 'Assets/Martian Assets/Vehicles/Jet/TerriumJet.prefab'
UnityEditor.HostView:OnGUI()
Building - Failed to write file: sharedassets3.assets
UnityEditor.HostView:OnGUI()
Error building Player: Couldn't build player because of unsupported data on target platform.
The prefab is a simple model+scripts combination. The same scripts work perfectly well in other cases. What could be wrong?
If I remove the prefab from the game (it's instantiated by a script - I can remove it by swapping it for a similar object in the Inspector) the game builds ok, but crashes on my computer (but not others, see this question: http://answers.unity3d.com/questions/747965/mac-build-will-not-start.html)
Comment