- Home /
"Culture name neutral is not supported" when using Parse.Unity.dll
I've updated this question to reflect new information I have based on Josh's suggestion below. I was able to narrow my trouble down to Parse initialization call. I get the exception "Culture name neutral not supported"
Details: Version : Unity 5.1.1p2
Scripting backend : IL2Cpp
Architection: Universal
SDK Version: Simulator SDK
Xcode:
Xcode version 6.3.2
iOS deployment target 7.1
iPhone Simulator SDK 8.3
Parse version: 1.5.2
From the Stack Trace:
ParseInitializeBehavior_Awake
ParseInitializeBehavior_Initialize
ParseClient
ParseClient_get_Version()
ParseName --- in this function the value for ___assemblyName is : Parse.Unity, Version=1.5.2.0, Culture=neutral, PublicKeyToken=null
CultureInfo_CreateCulture (name = "neutral")
CultureInfo_ctor
CultureInfo_ConstructInternalLocaleFromName
Raises "Culture name neutral is not supported"
Is there a fix for this?
Note : Duplicate thread on Parse's forum on Stack Overflow here : http://stackoverflow.com/questions/31096780/parse-related-error-while-building-unity-project-for-ios-culture-name-neutral-i
Note, this fails on the device as well. I believe it was an EXC_BAD_ACCESS error.
Answer by psykojello2 · Jul 12, 2015 at 03:37 AM
This appears to be fixed with Parse 1.5.3
Answer by JoshPeterson · Jun 29, 2015 at 10:37 AM
The type Il2CppExceptionWrapper is used by IL2CPP to wrap managed exceptions in C++ exceptions. You can set an exception breakpoint in Xcode when an exception of type Il2CppExceptionWrapper is thrown, then inspect the exception to determine its cause. There is some information about how to do this in Xcode here:
http://blogs.unity3d.com/2015/05/20/il2cpp-internals-debugging-tips-for-generated-code/