Hi! Unity 2019.3.0f
Error render mobile device, pc render ok, with weapons where more than 300 triangles. ParticleEffect weapon fire. What’s wrong ??
Object parameters:
350 Triangles, on a mobile device, emission of particles in (x == 0, y == 0, z == 0) position (error), on a computer emission in position on a weapon.
An error occurs on a mobile device, if only on the model to which we connect the particles, more than 300 vertices.
Perhaps somewhere you need to change the settings Unity3D so that the particles are rendered on the mobile following the weapon?
ParticleSystem ps = GetComponent ();
var sh = ps.shape;
sh.shapeType = ParticleSystemShapeType.MeshRenderer ;
sh.meshRenderer = weapon.GetComponent();
When I put it directly into the mesh rendering section in Particle Effect, it worked. It covers the object as in the screenshot. But it does not render with code. I wonder how I can solve the problem, which setting should I activate? The script works in the editor, but it does not work on Android.