- Home /
Unable to load Unity iPhone examples as scenes
Hi,
I've been having a problem with the Unity iPhone examples. I have loaded all the different Unity iPhone example projects, only the multiplayer mpStarTropper.unity file actually loads a scene and has a list of game objects in the Hierarchy view. Roll-a-Ball, iPhone-Match, StarTrooper, TunnelRunner, OcclusionCulling and NativeCodeExample all produce empty scenes, and the hierarchy view is void of game objects even if I go to File->Open Scene to select the Unity iPhone scene and load it...
StarTrooper has the following error message: Assets/_Scripts/PlayerControls.js(31,24): BCE0018: The name 'Touch' does not denote a valid type. iPhone Roll-a-Ball has error: Assets/Scripts/Controller.js(28,31): BCE0019: 'acceleration' is not a member of 'UnityEngine.Input'. NativeCode Example has message: Rebuiling GUID cache: Deleting metadata library/metadata/cd/cd64b75bebc7342578e1e9698ebb7bfe because it is an invalid meta data file! MetaData class can't be loaded Occlusion Culling also gives error: Assets/_Scripts/iPhoneAnalogSticks.js(33,29): BCE0018: The name 'Touch' does not denote a valid type.
_MatchGame.unity has no errors but it doesn't load a scene
I'm not having trouble loading example scenes for Unity 3.3.0f3. I'm using version 1.7.0f1 Unity Pro and iPhone Advanced license package.
I appreciate anyone's suggestions so I can check out some working sample code on the iPhone.
thanks, elizabeth
Answer by Eric5h5 · Mar 11, 2011 at 10:56 PM
Sounds like you're trying to load projects for Unity 3 into Unity iPhone 1.7, which won't work because Unity iPhone 1.7 is quite old and out of date.
Yep, you're right. I reinstalled Unity 3.3 and deleted the Unity iPhone version 1.7. (I just bought V1.7 last August) Everything's working including the remote. Awesome!
Your answer
Follow this Question
Related Questions
BCE0019: is not a member of 'UnityEngine.Component' when trying to Build and Run iOS Unity 2 Answers
Why does this script I got from the Unity Document site does not work? 1 Answer
Does UNity iPHOne work 1.7 work with the new iPhone 4 os? 1 Answer
From Mouse To Iphone Touch Code 0 Answers
How can I access the iPhone-specific aspect ratios? 3 Answers