Giter Site home page Giter Site logo

Comments (12)

mob-sakai avatar mob-sakai commented on June 10, 2024 1

I don't think it will be a problem.

from particleeffectforugui.

HFX-93 avatar HFX-93 commented on June 10, 2024

@mob-sakai
1、The time span from version 3.3.5 to version 4.2.2 is too big, and many special effects in the project are not suitable for version 4.2.2, so I still have to use version 3.3.5 for the time being, but I still need to solve this error. Please check whether my handling method is correct. If not, could you please provide me with a solution?

2、This is the specific error message,About 100,000 errors are reported every day:
exception_type: Error
exception_message: Mesh '': abnormal mesh bounds - most likely it has some invalid vertices (+/-inifinity or NANs) due to errors exporting. Mesh bounds min=(nan, nan, nan), max=(nan, nan, nan). Please make sure the mesh is exported without any errors.
stack_trace: Coffee.UIExtensions.UIParticleUpdater:BakeMesh(UIParticle) Coffee.UIExtensions.UIParticleUpdater:Refresh(UIParticle) Coffee.UIExtensions.UIParticleUpdater:Refresh() UnityEngine.WillRenderCanvases:Invoke()

image

from particleeffectforugui.

mob-sakai avatar mob-sakai commented on June 10, 2024

Hi @HFX-93,
thank you for your reporting.

- s_CombineInstances[0].mesh.Clear();
+ s_CombineInstances[0].mesh.Clear(false);
- if (_isTrail && _parent.canSimulate)
+ if (_isTrail && _parent.canSimulate && 0 < s_CombineInstances[0].mesh.vertices.Length)
{
    _renderer.BakeTrailsMesh(s_CombineInstances[0].mesh, bakeCamera, true);
}
  • Could you please attach a minimal project (included Assets, Packages and ProjectSettings directories) that reproduces the issue?
  • Profiler.EndSample is not needed.
  • Please try version 3.3.14
  • You can install the package as embed package and fix it
    • Manually copy a Unity package from the project’s package cache into your project’s Packages folder.

from particleeffectforugui.

HFX-93 avatar HFX-93 commented on June 10, 2024

@mob-sakai The one you changed does not apply to my current version, I am currently using the submission on February 28, 2021, the version is 3.3.5, please give me a repair plan for my current version, thank you in advance

from particleeffectforugui.

mob-sakai avatar mob-sakai commented on June 10, 2024

I would like to know more about this issue.
Tell me about your develop/build environment.

  • 〇〇 version [e.g. 3.3.10]
  • Platform: [e.g. Editor(Windows/Mac), Standalone(Windows/Mac), iOS, Android, WebGL]
  • Unity version: [e.g. 2022.2.0f1]
  • Build options: [e.g. IL2CPP, .Net 4.x, URP/HDRP]
    Could you please attach a minimal project (included Assets, Packages and ProjectSettings directories) that reproduces the issue?

repos

from particleeffectforugui.

HFX-93 avatar HFX-93 commented on June 10, 2024

@mob-sakai

I would like to know more about this issue. Tell me about your develop/build environment.

  • 〇〇 version 3.3.5
  • Platform: iOS, Android
  • Unity version: 2020.3.4f1c1
  • Build options: IL2CPP、.NET Standard2.0
    I can't reproduce this problem because it was all reported by online users, you can look at the code for version 3.3.5.

from particleeffectforugui.

mob-sakai avatar mob-sakai commented on June 10, 2024

Try adding Mesh.Clear(false) before BakeMesh() and BakeTrailsMesh().
However, since you did not attach a reproducible project, I cannot certify that it is the correct modification.

+ m.Clear(false);
r.BakeMesh(m, camera, true);
+ m.Clear(false);
r.BakeTrailsMesh(m, camera, true);

from particleeffectforugui.

HFX-93 avatar HFX-93 commented on June 10, 2024

@mob-sakai Is that right?
image

from particleeffectforugui.

mob-sakai avatar mob-sakai commented on June 10, 2024

👍
Hope they fix the issue.

from particleeffectforugui.

HFX-93 avatar HFX-93 commented on June 10, 2024

@mob-sakai
The version of 4.x has changed too much compared with 3.x, and many special effects in my project will appear abnormal, what should I do about this? Besides, some special effects cannot be adjusted to normal with version 4.x, can I provide you with a project, can you help me to see what the problem is?

from particleeffectforugui.

mob-sakai avatar mob-sakai commented on June 10, 2024

Of course.

  • Please close this issue and create a new one.
If the same issue arises, please re-open this issue.
  • Please attach a minimal project that has problems when updating ParticleEffectForUGUI from v3.x to v4.x.
  • Attaching a wide variety of effects will help us solve the problem.

from particleeffectforugui.

HFX-93 avatar HFX-93 commented on June 10, 2024

@mob-sakai Is that right? image

@mob-sakai If this change has no performance impact, I am ready to post it online and see if the player feedback reports the error

from particleeffectforugui.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.