Comments (14)
@ZhihaoJun
umm...
It is not reproduced on my environment.
- 2021.3.28f1
- Windows IL2CPP
- Managed Stripping Level: High
- UIParticle version: 4.1.7
- Insatalled with UPM (https://github.com/mob-sakai/ParticleEffectForUGUI.git#4.1.7)
- Build scenes: UIParticle_Demo
- Import from
UI Particle > Samples
- Import from
Could you please attach a minimal project (included Assets, Packages and ProjectSettings directories) that reproduces the issue?
from particleeffectforugui.
Sorry for the late reply, but I'm glad the bug has been fixed.
from particleeffectforugui.
Unfortunately, I encountered this issue again using the 4.4.0 version.
This time I was building Android version of my game.
However, I managed to solve it by putting entire UIParticle project in the Assets
folder rather than in the Packages
like mentioned above.
I think this issue is related to AssetBundle building process because my UI prefab is loading from an AssetBundle.
Everything is fine in the test project that is not using AssetBundle.
UIParticle version: 4.4.0
Unity version: 2021.3.28f1
IL2CPP backend
Optimization settings as below
from particleeffectforugui.
Yeah, I upgraded Unity editor from 2022.3.7f1 to 2022.3.11f1
I just tried removing the UIParticle component, deleting the [generated] object then adding the UIParticle component again, everything works perfectly, it's a miracle
Thanks for your dedicated help, sir @mob-sakai
from particleeffectforugui.
Thank you for your reporting!
I would like to know more about this issue.
Could you please attach a minimal project (included Assets
, Packages
and ProjectSettings
directories) that reproduces the issue?
from particleeffectforugui.
The issue is not reproduced on my environment...
Do you think adding the following code to UIParticle.cs would solve the issue?
[assembly:UnityEngine.Scripting.Preserve]
from particleeffectforugui.
Same problem here. Built standalone on windows platform with il2cpp backend. I got the error log when running:
My best guess is this macro that causes the bug since this is the only macro I found wrap a SerializeField of UIParticle.cs:
UIParticle version: 4.1.7
Unity version: 2021.3.28f1
from particleeffectforugui.
🎉 This issue has been resolved in version 4.2.2 🎉
The release is available on GitHub release
Your semantic-release bot 📦🚀
from particleeffectforugui.
Hi sir @mob-sakai , looks like this issue hasn't been fixed yet.
UIParticle ver: 4.2.2
Unity ver: 2022.3.11f1
Please check. Thanks!
from particleeffectforugui.
@ZhihaoJun
Thank you for your reporting!
@tienassassin
As a workaround, try the way that @ZhihaoJun said.
from particleeffectforugui.
Could you please attach a minimal project (included Assets
, Packages
and ProjectSettings
directories) that reproduces the issue?
from particleeffectforugui.
Hmm if I create an empty scene (same project as the one having the problem), then use UI Particle here, everything works fine... 😟
from particleeffectforugui.
- Has the project undergone a Unity version upgrade in the past?
- Are the assets assets that are loaded additionally, such as in AssetBundles? Also, were these assets built with an older version of Unity or UIParticle?
- If the assets are re-serialized, will the issue be resolved?
AssetDatabase.ForceReserializeAssets()
I think that the root cause is the different serialization layout
, meaning that the data structure differs between build time and load time.
from particleeffectforugui.
If the same issue arises, please re-open this issue.
from particleeffectforugui.
Related Issues (20)
- :mag: FAQ: Why Are My UIParticles Not Displayed Correctly?
- Size over lifetime not working with UI Particle HOT 1
- Sorting with layer and order HOT 1
- Sweep failure HOT 3
- ParticleAttractor OnAttracted Callback Question. HOT 1
- 3.3.5 Mesh bounds min=(nan, nan, nan), max=(nan, nan, nan) HOT 12
- [Worker0] Import Error Code:(4) Message, in unity 2022.3 HOT 2
- Special effects display abnormal when upgrading from 3.x to 4.x HOT 11
- Assertion failed on expression: 'ps->array_size()' HOT 3
- Rect Mask not working on Mobile Build but in Unity Editor HOT 1
- The changes made to the material used by the ParticleSystem are not immediately reflected HOT 1
- Support bakable renderer
- Support IMeshModifier HOT 1
- Improve performance
- Update Editor
- Incorrect rendering of World-space simulated particles while animating scale HOT 3
- Control particle position form script. HOT 3
- ParticleUI component breaks with "Fix any compile errors" HOT 4
- "[generated]" GameObjects on the hierarchy is disturbing HOT 2
- Max particle size is limited to camera's orthographic size halved in Screen Space - Camera HOT 5
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from particleeffectforugui.