I got it t work using the old method not your new function whch has the object reference error,, except now my application crashes every second bootup :
nity Editor [version: Unity 2017.1.1f1_5d30cf096e79]
VPinMAME64.dll caused an Access Violation (0xc0000005)
in module VPinMAME64.dll at 0033:7cd3a447.
Error occurred at 2017-10-05_012938.
C:\Program Files\Unity_2017.1\Editor\Unity.exe, run by ian.
19% memory in use.
32712 MB physical memory [26250 MB free].
37576 MB paging file [30430 MB free].
134217728 MB user address space [134214761 MB free].
Read from location 020007d0 caused an access violation.
Context:
RDI: 0x00000000 RSI: 0x00000000 RAX: 0x4bdb1d00
RBX: 0x3e119050 RCX: 0x00000000 RDX: 0x00000100
RIP: 0x7cd3a447 RBP: 0x00000000 SegCs: 0x00000033
EFlags: 0x00010287 RSP: 0x005fdad0 SegSs: 0x0000002b
R8: 0x7d1a20b0 R9: 0x00000000 R10: 0x00000000
R11: 0x00000200 R12: 0x000001e8 R13: 0x0000003d
R14: 0x00000000 R15: 0x020007d0




Top








are all trademarks of VPFORUMS.