PopcornFX v2.13

Generic selectors
Exact matches only
Search in title
Search in content
Post Type Selectors
  1. Home
  2. Docs
  3. PopcornFX v2.13
  4. Plugins
  5. Unity Plugin
  6. Known Issues

Known Issues

Effects

Mesh: All mesh resources used by PopcornFX assets should have “Read/Write” enabled. This is automatically done for direct dependencies at asset import.

Mesh VATs: If you encounter rendering bugs in standalone build you need to set:
“Project Settings” > “Player” > “Other Settings” > “Optimization”, uncheck the “Optimize mesh data” checkbox.

Textures: For all textures used in sampling, normal maps, distortion maps, VAT,  the import option “sRGB (Color Texture)” should be disabled. This cannot be done programmatically for some textures format (A warning log will be emitted in this case).

Texture Sampler: compared to PopcornFX Editor, texture Y axis is flipped. You can bypass this issue editing your effect and inversing it in PopcornFX Editor.

 

Unity Render Pipeline Settings

URP:

  • Soft particles: Camera depth texture is disabled by default and must be enabled (Directly on the camera or through a render pipeline asset)

Automatic mesh resizing to avoid dynamic re-alloc during the next run

Unity has a huge performance issue when retrieving the native handlers on the mesh buffers (see Unity Documentation). As retrieval of those handlers is needed every time the meshes are resized and as PopcornFX can’t determine how many particles will be spawned in each mesh, we need an estimation of the total number of particles that will be spawned in the Unity project.

To do that, we implemented a counter in the PKFxSettings that will keep track of the most particles spawned per Unity mesh. If you enable this option, during the next play in editor mode, the number of particles will be recorded.

So to avoid lags in your game, make sure to check this option and run through all your scenes. This option does not change anything once the project is build.

Was this article helpful to you? Yes No

How can we help?