AnsweredAssumed Answered

Project Open Crash - Multilayer Material Problem?

Question asked by Daniel Smith on Sep 24, 2016
Latest reply on Sep 26, 2016 by Brian Hillner

I have a few projects that I apparently can no longer open, and it seems it might be related to multilayer materials being present in my projects. I've noticed that Visualize has a weird behavior of not being able to combine identical multilayer appearances, but now at least for me it seems that it can break the project file. At least so far for me this has only occurred on project file where I am using multilayer appearances. When initially working with and setting up the file, it worked just fine with no issues at all. Now though, i can no longer open it and Visualize crashes if I try to reopen the project on any computer. Does anyone have any ideas of what to do?


Edit: After some more testing, I am not sure this error is related to multilayer appearances (although those still act oddly sometimes) but possibly more related towards auto-paint. I retested on a couple new projects and cleared my auto-paint cache and recreated it without any multilayer appearances. I still get the crashes and I am not sure what to do. Unfortunately this is completely preventing me from being able to really use Visualize because I cannot reopen projects I have worked on previously.


My crash log is below:


An error has occurred.

Error occurred at 21:58:05 on Saturday, 24 September 2016.  Build version is 2016.1.55.4166.

System.NullReferenceException = "Object reference not set to an instance of an object."

Stack Trace:

   at Bunkspeed.Rendering.ApplicationLayer.ViewModels.Materials.UserMultiLayerMaterialViewModel.<>c__DisplayClass2.<set_DataModel>b__0(MaterialViewModel mvm)

   at System.Linq.Enumerable.FirstOrDefault[TSource](IEnumerable`1 source, Func`2 predicate)

   at Bunkspeed.Rendering.ApplicationLayer.ViewModels.Materials.UserMultiLayerMaterialViewModel.set_DataModel(IInventoryMaterialDataModel value)

   at Bunkspeed.Rendering.ApplicationLayer.ViewModels.Materials.MaterialViewModel.UpdateMaterialViewModel()

   at Bunkspeed.Rendering.ApplicationLayer.ViewModels.Materials.MaterialViewModel.set_DataModel(IInventoryMaterialDataModel value)

   at Bunkspeed.Rendering.ApplicationLayer.MainDocumentController.CreateMaterialViewModel(IInventoryMaterialDataModel dataModel)

   at Bunkspeed.Rendering.ApplicationLayer.MainDocumentController.SetMaterials(IEnumerable`1 materials)

   at Bunkspeed.Rendering.ApplicationLayer.MainDocumentController.PostProjectInitialized(IAnimationCurrents currents)

   at Bunkspeed.Rendering.ApplicationLayer.MainWindowController.ProjectInitialized()

System.Reflection.TargetInvocationException = "Exception has been thrown by the target of an invocation."

Stack Trace:

   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)

   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)

   at System.Delegate.DynamicInvokeImpl(Object[] args)

   at System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs)

   at System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, Object args, Int32 numArgs, Delegate catchHandler)


Direct3D Device Feature Level: Level_11_0

Microsoft Windows 10 Pro Service Pack -1 - Pass

40 x Intel(R) Xeon(R) CPU E5-2640 v4 @ 2.40GHz - Pass

32689 MB RAM available - Pass

4095 MB NVIDIA Quadro M4000 - Pass

02/08/2016 00:00:00 GraphicsCard drivers - Attention

1 CUDA devices

380090 MB disk space free - Pass

662 MB ram used by application

Running in Remote Desktop session!

NeurayDeviceMode is Hybrid


Message was edited by: Daniel Smith