Quantcast
Channel: Questions in topic: "xcode"
Viewing all articles
Browse latest Browse all 1047

Missing script and NullReferenceException in Xcode and inside Unity3d

$
0
0
Q1: I can't find the missing reference script for gameObject "SceneManager" in the whole project. I have used http://wiki.unity3d.com/index.php?title=FindMissingScripts. But unity give me no errors. Q2: getting NullReferenceException: A null value was found where an object instance was required at MainUI.FBLogin_OnFBWasLoggedIn () [0x00000] in :0 Not sure whats the problem. Please help!! Have been stuck for a while! **Got below when running in Unity3d:** UnassignedReferenceException: The variable LoginPage of MainUI has not been assigned. You probably need to assign the LoginPage variable of the MainUI script in the inspector. NullReferenceException: Object reference not set to an instance of an object FitroomAPI+c__Iterator6.MoveNext () (at Assets/Source/FitroomAPI.cs:134) **Got below when running in Xcode:** The referenced script on this Behaviour (Game Object 'SceneManager') is missing! (Filename: Line: 1655) UnloadTime: 0.836083 ms [ERROR]native : unity.cc:221 Resume: Start() has not been called! [ERROR]native : unity.cc:221 Resume: Start() has not been called! FB.Init() has already been called. You only need to call this once and only once. Facebook.Unity.CustomLogger:Warn(String) Facebook.Unity.FB:Init(InitDelegate, HideUnityDelegate, String) MainUI:Start() (Filename: /Users/builduser/buildslave/unity/build/artifacts/generated/common/runtime/UnityEngineDebugBindings.gen.cpp Line: 37) Using Facebook Unity SDK v7.4.0 with FBiOSSDK/4.9.1 Facebook.Unity.CustomLogger:Info(String) Facebook.Unity.CompiledFacebookLoader:Start() (Filename: /Users/builduser/buildslave/unity/build/artifacts/generated/common/runtime/UnityEngineDebugBindings.gen.cpp Line: 37) NullReferenceException: A null value was found where an object instance was required. at MainUI.FBLogin_OnFBWasLoggedIn () [0x00000] in :0 (Filename: currently not available on il2cpp Line: -1) [ERROR]native : unity.cc:221 Resume: Start() has not been called! NullReferenceException: A null value was found where an object instance was required. at MainUI.OnHideUnity (Boolean isUnityShown) [0x00000] in :0 at FitroomAPI+NewSearchStarted.Invoke () [0x00000] in :0 (Filename: currently not available on il2cpp Line: -1) 2016-05-24 11:54:18.240 FitroomApp[3956:1861778] You are using download over http. Currently unity adds NSAllowsArbitraryLoads to Info.plist to simplify transition, but it will be removed soon. Please consider updating to https. MissingMethodException: Method not found: 'Default constructor not found...ctor() of System.ComponentModel.TypeConverter'. at System.Activator.CreateInstance (System.Type type, Boolean nonPublic) [0x00000] in :0 at System.ComponentModel.TypeDescriptor.GetConverter (System.Type type) [0x00000] in :0 at Newtonsoft.Json.Serialization.DefaultContractResolver.CanConvertToString (System.Type type) [0x00000] in :0 at Newtonsoft.Json.Serialization.DefaultContractResolver.CreateContract (System.Type objectType) [0x00000] in :0 at Newtonsoft.Json.Serialization.DefaultContractResolver.ResolveContract (System.Type type) [0x00000] in :0 at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.Deserialize (Newtonsoft.Json.JsonReader reader, System.Type objectType, Boolean checkAdditionalContent) [0x00000] in :0 at Newtonsoft.Json.JsonSerializer.DeserializeInternal (Newtonsoft.Json.JsonReader reader, System.Type objectType) [0x00000] in :0 at Newtonsoft.Json.JsonConvert.DeserializeObject (System.String value, System.Type type, Newtonsoft.Json.JsonSerializerSettings settings) [0x00000] in :0 at Newtonsoft.Json.JsonConvert.DeserializeObject[T] (System.String value, Newtonsoft.Json.JsonSerializerSettings settings) [0x00000] in :0 at FitroomAPI+c__Iterator5.MoveNext () [0x00000] in :0 (Filename: currently not available on il2cpp Line: -1) [ERROR]native : unity.cc:221 Resume: Start() has not been called!

Viewing all articles
Browse latest Browse all 1047

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>