Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error on build in Unity 2019.3.11-15 #114

Closed
korober opened this issue Nov 9, 2020 · 3 comments
Closed

Error on build in Unity 2019.3.11-15 #114

korober opened this issue Nov 9, 2020 · 3 comments
Assignees
Labels
bug Something isn't working released

Comments

@korober
Copy link

korober commented Nov 9, 2020

Hello, I get error on project build:

The same field name is serialized multiple times in the class or its parent class. This is not supported: Base(MonoBehaviour) m_Maskable
UnityEngine.GUIUtility:ProcessEvent(Int32, IntPtr)

I think the problem in UIParticle.cs, line 41-45:

#if !UNITY_2019_4_OR_NEWER
[SerializeField]
private bool m_Maskable = true;
#endif

To Reproduce

  1. Install plugin on empty project (unity 2019.3.15f1)
  2. build it for Android.

Expected behavior
No error messages on build

Screenshots
ugui_bug

Environment (please complete the following information):

  • Unity version: 2019.3.15f1
  • Build Platform: Android (ios not tested)
  • Build options: [IL2CPP, .Net standard 2.0]
@korober korober added the bug Something isn't working label Nov 9, 2020
@mob-sakai
Copy link
Owner

Hi @korober
Thank you for your reporting!

@mob-sakai
Copy link
Owner

In Unity 2019.3.11, the SerializeField attribute was added to this field.
https://unity3d.com/jp/unity/whats-new/2019.3.11

@mob-sakai mob-sakai changed the title Error on build Error on build in Unity 2019.3.11-15 Nov 9, 2020
github-actions bot pushed a commit that referenced this issue Nov 9, 2020
## [3.1.1](3.1.0...3.1.1) (2020-11-09)

### Bug Fixes

* error on build in Unity 2019.3.11-15 ([68669c7](68669c7)), closes [#114](#114)
* null Reference when creating New Scene after Prefab was open in PrefabMode ([22bcecd](22bcecd)), closes [#111](#111)
@github-actions
Copy link

github-actions bot commented Nov 9, 2020

🎉 This issue has been resolved in version 3.1.1 🎉

The release is available on GitHub release

Your semantic-release bot 📦🚀

LionelPerrault added a commit to LionelPerrault/Unity-Particle that referenced this issue Jul 25, 2023
## [3.1.1](mob-sakai/ParticleEffectForUGUI@3.1.0...3.1.1) (2020-11-09)

### Bug Fixes

* error on build in Unity 2019.3.11-15 ([68669c7](mob-sakai/ParticleEffectForUGUI@68669c7)), closes [#114](mob-sakai/ParticleEffectForUGUI#114)
* null Reference when creating New Scene after Prefab was open in PrefabMode ([22bcecd](mob-sakai/ParticleEffectForUGUI@22bcecd)), closes [#111](mob-sakai/ParticleEffectForUGUI#111)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working released
Projects
None yet
Development

No branches or pull requests

2 participants