keijiro / Smrvfx

Skinned mesh sampling with VFX Graph
The Unlicense
1.08k stars 153 forks source link

Read from location 0000000000000040 caused an access violation. #31

Closed joshkbaker closed 2 years ago

joshkbaker commented 2 years ago

Not totally sure if it's coming from this file but I was getting a an error causing Unity to crash. Read from location 0000000000000040 caused an access violation.

I wasn't totally sure but my Visual Studio was pointing me to smrvfx?

keijiro commented 2 years ago

I'm pretty sure that it's not related to Smrvfx because it doesn't contain any unmanaged code. (Usually, this kind of crash is caused by unmanaged code like native plugins)

I'd recommend checking if you're using a native plugin.

By the way, now VFX Graph supports skinned mesh sampling. This means that you shouldn't use Smrvfx any more -- you can do the same thing with the built-in functionality.

keijiro commented 2 years ago

I'm closing this issue now. Please feel free to reopen it for further problems.

joshkbaker commented 2 years ago

native plugin

Is there anyway to check if my project is using native plugins. I'm trying to get to the root of this issue.

keijiro commented 2 years ago

I'd recommend checking if the project contains unmanaged .dll files.

joshkbaker commented 2 years ago

Hi Keijiro, it wasnt your asset. Apologies