plane icon Welcome to Microsoft Flight Simulator’s SDK Q&A Platform!

You have questions regarding the SDK? DevMode Tools? SimConnect? You would like to submit an idea for future improvements, seek help or exchange knowledge? You’re in the right place.


Please take a moment to read the platform’s guidelines before you get started!


question

runshotgun avatar image
runshotgun asked runshotgun answered

Compiled effects behaving erratically.

Hi @EPellissier and @MagnanimousHippo ,

I'm trying to compile some wheel dust effects for our aircraft and I'm noticing that the compiled effects are behaving completely differently than what was observed in the editor.

From the compiled:

From the Editor:


Thank you for your help!

vfx
10 |10000

Up to 5 attachments (including images) can be used with a maximum of 4.8 MiB each and 23.8 MiB total.

FlyingRaccoon avatar image
FlyingRaccoon answered FlyingRaccoon commented

Hello @runshotgun

We have tested your effect and are not able to reproduce the issue. We had to edit the effect (its use of local vars) to integrate it so maybe that's not the ideal condition.
Can you please provide us with:
- your source package
- your compiled package

So we can check if compilation gives us the same result and compare behavior.

Regards,
Sylvain

6 comments
10 |10000

Up to 5 attachments (including images) can be used with a maximum of 4.8 MiB each and 23.8 MiB total.

runshotgun avatar image runshotgun commented ·
Package shared with you as a private comment
1 Like 1 ·
FlyingRaccoon avatar image FlyingRaccoon ♦♦ commented ·
Hello @runshotgun

We tested your compiled package on SU11, AAU1 and dev version of the game but were not able to reproduce the issue. The effect always behaved as in your second picture.
We also tried switching DX version and graphics settings.

Can you tell us if starting a flight with your aircraft mounted from community and then opening the effect in edition changes the behaviour of the effect spawned on your aircraft?

Also, if you can try to test your package on a different machine, it would be interesting to see if you have the same problem.

Regards,
Sylvain

0 Likes 0 ·
runshotgun avatar image runshotgun FlyingRaccoon ♦♦ commented ·

Here is a short video of the process on my end. https://youtu.be/r6ytgrTPLAE

In the video, the aircraft was already present in the Community folder before loading the project. Only after opening the project and selecting the effect in the VFX editor does the effect swap to the correct one.

Loading the project from the menu (without the compiled package in the Community folder) will render the correct effects directly after loading in.

We have tried the package on multiple computers (in and out of beta) and the effects do not render correctly.

0 Likes 0 ·
FlyingRaccoon avatar image FlyingRaccoon ♦♦ runshotgun commented ·

Hello @runshotgun

When the problem occurs, can you make sure your package is the only one in the Community folder, in case there's some package mounting issue on our side?

Also, can you search "wheel_dust.spb" in Tools->Virtual File System and make sure only p42-fox2 package is returned?
1670951148795.png

Regards,
Sylvain

0 Likes 0 ·
1670951148795.png (25.2 KiB)
Show more comments
Flysimware avatar image
Flysimware answered runshotgun commented

Maybe the effect you created is correct but the settings in sim for the effect is not set to be full 100% like in the editor. Try increasing the effect size.

1 comment
10 |10000

Up to 5 attachments (including images) can be used with a maximum of 4.8 MiB each and 23.8 MiB total.

runshotgun avatar image runshotgun commented ·
Thanks for the reply!

I know this setting from FSX/P3D but I can't find anything comparable in the sim settings.

0 Likes 0 ·
EPellissier avatar image
EPellissier answered runshotgun commented

Hi there,

I am not in the office right now but isn't the GUID you chose for your FX (DADE83A1-66B8-42C4-9528-D022C10127CB) the same as one of ours?

If that's the case I suppose our FX definition takes priority over yours - changing the GUID should solve the issue (but you will have to adapt your model XML too).

I'll double check this when in the office tomorrow.

Best regards,

Eric / Asobo

1 comment
10 |10000

Up to 5 attachments (including images) can be used with a maximum of 4.8 MiB each and 23.8 MiB total.

runshotgun avatar image runshotgun commented ·

Thanks for answering!

Great path but DADE83A1-66B8-42C4-9528-D022C10127CB is unique

GUID used by other aircraft of the same size (for that effect, DustLanding) is B563B75A-F2F0-4F09-8617-BE9F173BC8FB

Worth noting that other effects in the same library compile properly so the issue seems to be specific to this effect.

0 Likes 0 ·
runshotgun avatar image
runshotgun answered

Issue resolved here.

Turns out I manually copied an effect from another project and only changed the root GUID and not all the components.

Ended up having Chat GPT code a python script that compares all the effects files on all my projects to figure it out hahaha.

I cloned the effect in the vfx editor and the issue is resolved now.

Sorry for your time spent on this.

10 |10000

Up to 5 attachments (including images) can be used with a maximum of 4.8 MiB each and 23.8 MiB total.

Write an Answer

Hint: Notify or tag a user in this post by typing @username.

Up to 5 attachments (including images) can be used with a maximum of 19.1 MiB each and 23.8 MiB total.