0 like 0 dislike
209 views

Hi, 

Recently I have been testing out a Popcorn FX pipeline, but have encountered some issues with the D3DComplier crashing on runtime.

Here is my current setup/process.

1.  Download and opened the unity project "PopcornFX-Unity5-WinSamples2.4(1.8.1).zip (Free Windows plugin demo with watermark for Unity5)" in Unity version 5.0.1f1.

2. Copy and pasted the plugin and assets into our unity game project.

3. Downloaded and installed "PopcornFX-Editor_Setup_v1.8.1.25035.exe (Latest 1.8 build)"

4. Created an new popcorn project and installed "GDC2015" package.

5. Exported "PK_InstantShot" to our unity game project (../StreamingAssets/PackFx)

6. Spawned the effect with standard unity C# script.

Within the project I am using the "PK FX Rendering Plugin" and "PK Fx FX" scripts detailed in the setup. Is there perhaps a newer version of the unity plugin I should be testing with? Or perhaps am I forgetting a step in the plugin setup?

Thank you in advance for any help you can provide.

asked by
Hi Ian,

We tried following your steps (which seem fine) but couldn't reproduce the crash.

I don't think you're missing anything, when you say you're spawning the effect with standard Unity C# script, you mean you're spwaning it with your own script, right?  Could you post some code?

Obviously it shouldn't crash but maybe you're doing something wrong in your script leading to the crash.

Also, could you let us know your machine's specs (OS including architecture, GPU, etc)

Thanks,
Hi Raphael,

Thank you for the quick reply.

You are correct in assuming that I am spawning it with my own script, but unfortunately the scripts are quite complicated to post.

On the bright side though, I do not believe that Popcorn FX is the cause of the crash. I've reverted my project before the addition of any PopcornFX content, and the crash still happens, so I believe it's something internal and is unrelated to the PopcornFX plugin.

If I encounter any issues with the plugin, I will be sure to post my machine's specs and any code involved.

Thank you for your help,

1 Answer

1 like 0 dislike
 
Best answer
Just to clarify this issue and based on the comments, the crash is not coming from PopcornFX.

Thank you Ian for the feedback.
answered by cmirey (810 points)
...