Kudan AR 1.5.1 sample scenes crash in Unity Editor 2017.3.0f3


#1

Hello, I downloaded and imported the KudanAR package in an empty Unity 2017.3.0f3 project, and after 5 seconds of playing the Kudan Sample Scene the Unity Editor crashes.

When built into an Android device, the sample Scenes run fine.

I am running the Unity Editor in Windows 10 and use a Logitech C920 HD Pro Webcam for in-Editor camera.

Note: I have disabled multi-threaded sampling in the Android settings.

Could you please look into this?


#2

can you post your log?


#3

Hi @vkgbaran, unfortunately it does not give me any relevant crash log.

In any ways, here follows the Editor.log that logs Unity being opened and then running the Kudan Sample Scene in the Unity Editor.

Editor.log

LICENSE SYSTEM [2018115 10:14:48] Next license update check is after 2018-01-16T08:56:47

LICENSE SYSTEM [2018115 10:14:48] 00330-80000-00000-AA127 != 00330-80000-00000-AA465

Built from ‘2017.3/staging’ branch; Version is ‘2017.3.0f3 (a9f86dcd79df) revision 11139181’; Using compiler version ‘160040219’
OS: ‘Windows 10 (10.0.0) 64bit’ Language: ‘en’ Physical Memory: 8127 MB
BatchMode: 0, IsHumanControllingUs: 1, StartBugReporterOnCrash: 1, Is64bit: 1, IsPro: 1
[Package Manager] Server::Start – Port 56977 was selected
ListPackages failed, output: {
“name”: “unity-editor”,
“version”: “5.7.0”,
“problems”: [
“invalid: unity-editor-home@0.8.29 C:\Users\Henrique\AppData\Roaming\Unity\Packages\node_modules\unity-editor-home”
],
“dependencies”: {
“unity-editor-home”: {
“version”: “0.8.29”,
“from”: “unity-editor-home.0.8.29.tgz”,
“resolved”: “file:unity-editor-home.0.8.29.tgz”,
“invalid”: true,
“problems”: [
“invalid: unity-editor-home@0.8.29 C:\Users\Henrique\AppData\Roaming\Unity\Packages\node_modules\unity-editor-home”
]
},
“unityeditor-cloud-hub”: {
“version”: “0.0.15”,
“from”: “unityeditor-cloud-hub-0.0.15.tgz”,
“resolved”: “file:unityeditor-cloud-hub-0.0.15.tgz”
},
“unityeditor-collab-history”: {
“version”: “0.6.14”,
“from”: “unityeditor-collab-history.0.6.14.tgz”,
“resolved”: “file:unityeditor-collab-history.0.6.14.tgz”
},
“unityeditor-collab-toolbar”: {
“version”: “0.7.15”,
“from”: “unityeditor-collab-toolbar.0.7.15.tgz”,
“resolved”: “file:unityeditor-collab-toolbar.0.7.15.tgz”
}
}
}

COMMAND LINE ARGUMENTS:
C:\Program Files\Unity20173\Editor\Unity.exe
C:/Users/Henrique/Projects/UnityProjects/_experiments/KudanTest
Loading GUID <-> Path mappings…0.000096 seconds
Loading Asset Database…0.013342 seconds
Audio: FMOD Profiler initialized on port 54900
AssetDatabase consistency checks…0.039400 seconds
Refreshing native plugins compatible for Editor in 13.92 ms, found 3 plugins.
Preloading 0 native plugins for Editor in 0.00 ms.
[Package Manager] Resolving 4 packages:
[Package Manager] * Package : com.unity.ads@2.0.3
(location: C:\Users\Henrique\AppData\LocalLow\Unity\cache\packages\packages.unity.com\com.unity.ads@2.0.3)
[Package Manager] * Package : com.unity.analytics@2.0.13
(location: C:\Users\Henrique\AppData\LocalLow\Unity\cache\packages\packages.unity.com\com.unity.analytics@2.0.13)
[Package Manager] * Package : com.unity.purchasing@0.0.19
(location: C:\Users\Henrique\AppData\LocalLow\Unity\cache\packages\packages.unity.com\com.unity.purchasing@0.0.19)
[Package Manager] * Package : com.unity.standardevents@1.0.10
(location: C:\Users\Henrique\AppData\LocalLow\Unity\cache\packages\packages.unity.com\com.unity.standardevents@1.0.10)
[Package Manager] Resolve completed
IsTimeToCheckForNewEditor: Update time 1516010200 current 1516007698
Initialize engine version: 2017.3.0f3 (a9f86dcd79df)
GfxDevice: creating device client; threaded=1
Direct3D:
Version: Direct3D 11.0 [level 11.1]
Renderer: AMD Radeon ™ R9 200 Series (ID=0x6811)
Vendor: ATI
VRAM: 2028 MB
Driver: 22.19.677.257
Initialize mono
Mono path[0] = ‘C:/Program Files/Unity20173/Editor/Data/Managed’
Mono path[1] = ‘C:/Program Files/Unity20173/Editor/Data/Mono/lib/mono/2.0’
Mono config path = ‘C:/Program Files/Unity20173/Editor/Data/Mono/etc’
Using monoOptions --debugger-agent=transport=dt_socket,embedding=1,defer=y,address=0.0.0.0:56696
Begin MonoManager ReloadAssembly
Refreshing native plugins compatible for Editor in 0.55 ms, found 7 plugins.
Fallback handler could not load library C:/Program Files/Unity20173/Editor/Data/Mono/lib/libc
Fallback handler could not load library C:/Program Files/Unity20173/Editor/Data/Mono/lib/.\libc
Fallback handler could not load library C:/Program Files/Unity20173/Editor/Data/Mono/lib/libc
Fallback handler could not load library C:/Program Files/Unity20173/Editor/Data/Mono/lib/libc
Fallback handler could not load library C:/Program Files/Unity20173/Editor/Data/Mono/lib/.\libc
Fallback handler could not load library C:/Program Files/Unity20173/Editor/Data/Mono/lib/libc
Initializing Unity.PackageManager (PackageManager) v2017.3.0 for Unity v2017.3.0f3
Registering precompiled unity dll’s …
Register platform support module: C:\Program Files\Unity20173\Editor\Data\PlaybackEngines\AndroidPlayer/UnityEditor.Android.Extensions.dll
Register platform support module: C:/Program Files/Unity20173/Editor/Data/PlaybackEngines/iOSSupport/UnityEditor.iOS.Extensions.dll
Register platform support module: C:\Program Files\Unity20173\Editor\Data\PlaybackEngines\WebGLSupport/UnityEditor.WebGL.Extensions.dll
Register platform support module: C:\Program Files\Unity20173\Editor\Data\PlaybackEngines\windowsstandalonesupport/UnityEditor.WindowsStandalone.Extensions.dll
Register platform support module: C:\Program Files\Unity20173\Editor\Data\PlaybackEngines\MacStandaloneSupport/UnityEditor.OSXStandalone.Extensions.dll
Registered in 0.003094 seconds.
Refreshing native plugins compatible for Editor in 0.68 ms, found 7 plugins.
Preloading 2 native plugins for Editor in 2.13 ms.
Mono: successfully reloaded assembly

  • Completed reload, in 0.875 seconds
    Registering platform support modules:
    Registered platform support modules in: 0.0906185s.
    Native extension for OSXStandalone target not found
    Native extension for WindowsStandalone target not found
    Native extension for WebGL target not found
    Native extension for iOS target not found
    Native extension for Android target not found
    Fallback handler could not load library C:/Program Files/Unity20173/Editor/Data/Mono/lib/data-00000000397340A0.dll
    System.IO.DirectoryNotFoundException: Could not find a part of the path “C:\Users\Henrique\AppData\Local\Temp\274d22fb\7564c503.tmp”.
    at System.IO.File.Delete (System.String path) [0x00084] in /Users/builduser/buildslave/mono/build/mcs/class/corlib/System.IO/File.cs:173
    at System.CodeDom.Compiler.TempFileCollection.Delete () [0x00000] in :0
    at Mono.CSharp.CSharpCodeCompiler.CompileAssemblyFromFileBatch (System.CodeDom.Compiler.CompilerParameters options, System.String[] fileNames) [0x00000] in :0
    at Mono.CSharp.CSharpCodeCompiler.CompileAssemblyFromFile (System.CodeDom.Compiler.CompilerParameters options, System.String fileName) [0x00000] in :0
    at System.Xml.Serialization.XmlSerializer.GenerateSerializers (System.Xml.Serialization.GenerationBatch batch, System.CodeDom.Compiler.CompilerParameters cp) [0x00000] in :0
    at System.Xml.Serialization.XmlSerializer.RunSerializerGeneration (System.Object obj) [0x00000] in :0
    Begin MonoManager ReloadAssembly
    Registering precompiled user dll’s …
    Registered in 0.013352 seconds.
    Refreshing native plugins compatible for Editor in 0.66 ms, found 7 plugins.
    Preloading 2 native plugins for Editor in 0.19 ms.
    Mono: successfully reloaded assembly
  • Completed reload, in 0.933 seconds
    Initializing Unity.PackageManager (PackageManager) v2017.3.0 for Unity v2017.3.0f3
    Registering platform support modules:
    Registered platform support modules in: 0.0566451s.
    Native extension for OSXStandalone target not found
    Native extension for WindowsStandalone target not found
    Native extension for WebGL target not found
    Native extension for iOS target not found
    Native extension for Android target not found
    Validating Project structure … 0.001994 seconds.
    Refresh: detecting if any assets need to be imported or removed … Refresh: elapses 0.018475 seconds (Nothing changed)
    Warming cache for 247 main assets: 0.000581 seconds elapsed
    Initializing Unity extensions:
    ‘C:/Program Files/Unity20173/Editor/Data/UnityExtensions/Unity/UnityHoloLens/Editor/UnityEditor.HoloLens.dll’ GUID: 12fd8a0055b84bb59e84c9835a37e333
    ‘C:/Program Files/Unity20173/Editor/Data/UnityExtensions/Unity/Timeline/Runtime/UnityEngine.Timeline.dll’ GUID: 6a10b2909283487f913b00d94cd3faf5
    ‘C:/Program Files/Unity20173/Editor/Data/UnityExtensions/Unity/TestRunner/portable/nunit.framework.dll’ GUID: 405b9b51bb344a128608d968297df79c
    ‘C:/Program Files/Unity20173/Editor/Data/UnityExtensions/Unity/GUISystem/Standalone/UnityEngine.UI.dll’ GUID: f70555f144d8491a825f0804e09c671c
    ‘C:/Program Files/Unity20173/Editor/Data/UnityExtensions/Unity/GUISystem/UnityEngine.UI.dll’ GUID: f5f67c52d1564df4a8936ccd202a3bd8
    ‘C:/Program Files/Unity20173/Editor/Data/UnityExtensions/Unity/Timeline/RuntimeEditor/UnityEngine.Timeline.dll’ GUID: 844f815391db42d49455cbf1a7bfc434
    ‘C:/Program Files/Unity20173/Editor/Data/UnityExtensions/Unity/Networking/Standalone/UnityEngine.Networking.dll’ GUID: dc443db3e92b4983b9738c1131f555cb
    ‘C:/Program Files/Unity20173/Editor/Data/UnityExtensions/Unity/UnitySpatialTracking/Runtime/UnityEngine.SpatialTracking.dll’ GUID: ed7343f30e3843b3afda8f8b02669cea
    ‘C:/Program Files/Unity20173/Editor/Data/UnityExtensions/Unity/UnityGoogleAudioSpatializer/Editor/UnityEditor.GoogleAudioSpatializer.dll’ GUID: 4a3ecb1425d14502837abea459cf2b70
    ‘C:/Program Files/Unity20173/Editor/Data/UnityExtensions/Unity/Networking/Editor/UnityEditor.Networking.dll’ GUID: 5f32cd94baa94578a686d4b9d6b660f7
    ‘C:/Program Files/Unity20173/Editor/Data/UnityExtensions/Unity/UnityHoloLens/Runtime/UnityEngine.HoloLens.dll’ GUID: f7b54ff4a43d4fcf81b4538b678e0bcc
    ‘C:/Program Files/Unity20173/Editor/Data/UnityExtensions/Unity/UnitySpatialTracking/Editor/UnityEditor.SpatialTracking.dll’ GUID: b5da970776034f77a070d99423d68791
    ‘C:/Program Files/Unity20173/Editor/Data/UnityExtensions/Unity/TreeEditor/Editor/UnityEditor.TreeEditor.dll’ GUID: adebbd281f1a4ef3a30be7f21937e02f
    ‘C:/Program Files/Unity20173/Editor/Data/UnityExtensions/Unity/Networking/UnityEngine.Networking.dll’ GUID: 870353891bb340e2b2a9c8707e7419ba
    ‘C:/Program Files/Unity20173/Editor/Data/UnityExtensions/Unity/TestRunner/UnityEngine.TestRunner.dll’ GUID: 53ebcfaa2e1e4e2dbc85882cd5a73fa1
    ‘C:/Program Files/Unity20173/Editor/Data/UnityExtensions/Unity/UnityGoogleAudioSpatializer/RuntimeEditor/UnityEngine.GoogleAudioSpatializer.dll’ GUID: ead147da21254ff9a0a936bdd75e1680
    ‘C:/Program Files/Unity20173/Editor/Data/UnityExtensions/Unity/UnityGoogleAudioSpatializer/Runtime/UnityEngine.GoogleAudioSpatializer.dll’ GUID: e4f4cf1b9b434137a499903a7a1d651a
    ‘C:/Program Files/Unity20173/Editor/Data/UnityExtensions/Unity/UnityVR/Editor/UnityEditor.VR.dll’ GUID: 4ba2329b63d54f0187bcaa12486b1b0f
    ‘C:/Program Files/Unity20173/Editor/Data/UnityExtensions/Unity/UnityHoloLens/RuntimeEditor/UnityEngine.HoloLens.dll’ GUID: 1c6d1fbb51834b64847b1b73a75bfc77
    ‘C:/Program Files/Unity20173/Editor/Data/UnityExtensions/Unity/UnitySpatialTracking/RuntimeEditor/UnityEngine.SpatialTracking.dll’ GUID: 3a84de5cd0624681b6b6dcd8921d912a
    ‘C:/Program Files/Unity20173/Editor/Data/UnityExtensions/Unity/GUISystem/Editor/UnityEditor.UI.dll’ GUID: 80a3616ca19596e4da0f10f14d241e9f
    ‘C:/Program Files/Unity20173/Editor/Data/UnityExtensions/Unity/UIAutomation/UnityEngine.UIAutomation.dll’ GUID: c768acbc9cf24d398488bb4c93b91288
    ‘C:/Program Files/Unity20173/Editor/Data/UnityExtensions/Unity/TestRunner/Editor/UnityEditor.TestRunner.dll’ GUID: 4113173d5e95493ab8765d7b08371de4
    ‘C:/Program Files/Unity20173/Editor/Data/UnityExtensions/Unity/TestRunner/net35/unity-custom/nunit.framework.dll’ GUID: 4b3fa4bde7f1451a8218c03ee6a8ded8
    ‘C:/Program Files/Unity20173/Editor/Data/UnityExtensions/Unity/UIAutomation/Editor/UnityEditor.UIAutomation.dll’ GUID: b8a0574e92bd43a59e19d6c3c6ae54c7
    ‘C:/Program Files/Unity20173/Editor/Data/UnityExtensions/Unity/Timeline/Editor/UnityEditor.Timeline.dll’ GUID: 7668179ede524d6396c8b7d84461ea29
    Unloading 153 Unused Serialized files (Serialized files now loaded: 0)
    System memory in use before: 41.3 MB.
    System memory in use after: 41.3 MB.

Unloading 114 unused Assets to reduce memory usage. Loaded Objects now: 878.
Total: 1.669438 ms (FindLiveObjects: 0.771839 ms CreateObjectMapping: 0.023359 ms MarkObjects: 0.850239 ms DeleteObjects: 0.020479 ms)

Initialized touch support.

Initialized touch support.

Initialized touch support.

Initialized touch support.

Initialized touch support.

Initialized touch support.

Initialized touch support.

Initialized touch support.

Initializing input.

Input initialized.

Launched and connected shader compiler UnityShaderCompiler.exe after 0.04 seconds
Issue TrimJob to reduce GI Cache size to maximum 10GB at: ‘C:/Users/Henrique/AppData/LocalLow/Unity/Caches/GiCache’
[00:00:00] Enlighten: Precompute started.
[PathTracer] Issuing atlassing job. Atlas hash: bc06a9703e5ae257241f86e6e5e9cb62, width: 1024, height: 1024
[00:00:00] Enlighten: Finished 1 Layout Systems job (0.00s execute, 0.00s integrate, 0.05s wallclock)
[00:00:00] Enlighten: Finished 1 Tetrahedralize Probes job (0.00s execute, 0.00s integrate, 0.05s wallclock)
[00:00:00] Enlighten: Precompute took 0.105209 seconds.
Enlighten scene contents: 0 geometries. 0 instances. 0 systems. 0 probe groups. 0 cube maps. Scene is up-to-date.
[00:00:00] Enlighten: Bake started.
[PathTracer][LP] Issuing deduplication and tetrahedralization job. Combined: 80257199cfa681a16be5e09b3c2208f4, tetrahedralized probes: 00000000000000000000000000000000, non-tetrahedralized probes: 00000000000000000000000000000000, dependencies: 00000000000000000000000000000000
Setting up 1 worker threads for Enlighten.
Thread -> id: 5ecc -> priority: 1
[00:00:00] Enlighten: Finished 1 Bake Runtime job (0.04s execute, 0.00s integrate, 0.05s wallclock)
[00:00:00] Enlighten: Bake took 0.051503 seconds.
[PathTracer][LP] Integrating deduplicated and tetrahedralized probes for hash 80257199cfa681a16be5e09b3c2208f4.
TrimDiskCacheJob: Current cache size 1555mb
[PathTracer] Common reset.
[PathTracer] Lightmap reset.
[PathTracer][LP] Light probes reset.
[PathTracer] building lightmap data asset.
[00:00:01] Enlighten: Reflection Probes started.
[00:00:01] Enlighten: Finished 1 Ambient Probes job (0.00s execute, 0.00s integrate, 0.05s wallclock)
[00:00:01] Enlighten: Finished 1 Reflection Probes job (0.00s execute, 0.00s integrate, 0.05s wallclock)
Initialized touch support.

Opening scene ‘Assets/KudanAR/Samples/KudanSample.unity’
Load scene ‘Assets/KudanAR/Samples/KudanSample.unity’ time: 0.013439 ms
Unloading 5 Unused Serialized files (Serialized files now loaded: 0)
[00:00:00] Enlighten: Reflection Probes took 7.013844 seconds. Cancelled, so not done yet.
System memory in use before: 62.8 MB.
System memory in use after: 65.0 MB.

Unloading 25 unused Assets to reduce memory usage. Loaded Objects now: 3245.
Total: 6.540795 ms (FindLiveObjects: 1.584958 ms CreateObjectMapping: 0.069119 ms MarkObjects: 4.838716 ms DeleteObjects: 0.046079 ms)

Packing sprites:
[ 69 MB ]- Skipping packing - Sprite Packer (Legacy) is off.
[ 69 MB ]Reloading assemblies for play mode.
Begin MonoManager ReloadAssembly
Refreshing native plugins compatible for Editor in 4.31 ms, found 7 plugins.
Preloading 2 native plugins for Editor in 0.16 ms.
Mono: successfully reloaded assembly

  • Completed reload, in 1.262 seconds
    Initializing Unity.PackageManager (PackageManager) v2017.3.0 for Unity v2017.3.0f3
    Registering platform support modules:
    Registered platform support modules in: 0.0449645s.
    Native extension for OSXStandalone target not found
    Native extension for WindowsStandalone target not found
    Native extension for WebGL target not found
    Native extension for iOS target not found
    Native extension for Android target not found
    Load scene ‘Temp/__Backupscenes/0.backup’ time: 0.414079 ms
    [KudanAR] Editor Play Mode Key is Valid
    UnityEngine.DebugLogHandler:Internal_Log(LogType, String, Object)
    UnityEngine.DebugLogHandler:LogFormat(LogType, Object, String, Object[])
    UnityEngine.Logger:Log(LogType, Object)
    UnityEngine.Debug:Log(Object)
    Kudan.AR.KudanTracker:checkEditorLicenseKey() (at Assets\KudanAR\Scripts\Components\KudanTracker.cs:186)
    Kudan.AR.KudanTracker:Start() (at Assets\KudanAR\Scripts\Components\KudanTracker.cs:247)

(Filename: Assets/KudanAR/Scripts/Components/KudanTracker.cs Line: 186)

[KudanAR] Your Native API Key Is Valid for Bundle ID: com.ranj.kudantest
UnityEngine.DebugLogHandler:Internal_Log(LogType, String, Object)
UnityEngine.DebugLogHandler:LogFormat(LogType, Object, String, Object[])
UnityEngine.Logger:Log(LogType, Object)
UnityEngine.Debug:Log(Object)
Kudan.AR.KudanTracker:checkLicenseKeyValidity() (at Assets\KudanAR\Scripts\Components\KudanTracker.cs:169)
Kudan.AR.KudanTracker:Start() (at Assets\KudanAR\Scripts\Components\KudanTracker.cs:256)

(Filename: Assets/KudanAR/Scripts/Components/KudanTracker.cs Line: 169)

[KudanAR] Initialising Plugin Version 1.5 (Native Framework Version 1.4)
UnityEngine.DebugLogHandler:Internal_Log(LogType, String, Object)
UnityEngine.DebugLogHandler:LogFormat(LogType, Object, String, Object[])
UnityEngine.Logger:Log(LogType, Object)
UnityEngine.Debug:Log(Object)
Kudan.AR.KudanTracker:Start() (at Assets\KudanAR\Scripts\Components\KudanTracker.cs:277)

(Filename: Assets/KudanAR/Scripts/Components/KudanTracker.cs Line: 277)


#4

Hi ,
Due to local holiday here I don’t have access to the machine to check out.Anyway, i too using the same version for me everything works fine.anyway, Ill check my with my guys and let you know

Thanks
kgb


#5

I think this is because of the unity. You should downgrade it to lower version such as 2017.1.0f3