c# - Unity 5 Windows phone 8 Game crashes on launch in wp8 device -
i have unity 5 project want build wp8. has 1 c# script. imports 1 custom package have created. package has default 5 dlls want app have mandatorily. have additional 10 dlls can referred choice. 1 can have minimum of 0 , max of 10 dlls referred in game. not mandatory use dlls. in case need additional functionality add them in project.
now happens ::
if custom package 5 dlls in project, build it, open vs soln , run it, crashes. exception trace ::
{system.typeinitializationexception: type initializer 'winrtbridge.winrtbridge' threw exception. ---> system.typeinitializationexception: type initializer 'winrtbridge.typeinformation' threw exception. ---> system.io.filenotfoundexception: not load file or assembly 'windows, version=255.255.255.255, culture=neutral, publickeytoken=null' or 1 of dependencies. system cannot find file specified. @ unityengineinternal.bootstraphelpers.filltypemaps(dictionary
2& typetotypeidmap, list1& typeidtotypemap) @ winrtbridge.typeinformation..cctor() --- end of inner exception stack trace --- @ winrtbridge.typeinformation..ctor() @ winrtbridge.winrtbridge..cctor() --- end of inner exception stack trace --- @ winrtbridge.winrtbridge.set_control(object value)
@ unity5sample.mainpage..ctor()}
i have windows phone 8 sdk in place correctly , can surely create, build , run sample wp8 projects in visual studio. no question of missing sdk wp8.
but if refer custom package , along it, refer other 10 dlls , then, build in unity , run in vs on device, works fine.
there not relation between dlls in custom package , ones add manually later. still happening. , additionally, happens unity 5. unity 4.5+ , < 5.x, works perfectly, whether or not refer of non mandatory 10 dlls.
what did work :: tick don't process check box platform settings in inspector window. did not understand worked.
Comments
Post a Comment