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

Combine Instances error #91

Closed
cfoulston opened this issue Sep 2, 2020 · 5 comments
Closed

Combine Instances error #91

cfoulston opened this issue Sep 2, 2020 · 5 comments
Assignees
Labels
bug Something isn't working released on @preview

Comments

@cfoulston
Copy link

NOTE: Your issue may already be reported! Please search on the issue tracker before creating one.

Describe the bug
A clear and concise description of what the bug is.

Cannot combine into a mesh that is also in the CombineInstances input:
0x00007FF63A50A14C (Unity) StackWalker::GetCurrentCallstack
0x00007FF63A50E171 (Unity) StackWalker::ShowCallstack
0x00007FF63B777A05 (Unity) GetStacktrace
0x00007FF63C60771E (Unity) DebugStringToFile
0x00007FF639B4974A (Unity) CombineMeshes
0x00007FF639B49B2E (Unity) MeshScripting::CombineMeshes
0x00007FF63A5EB90A (Unity) Mesh_CUSTOM_CombineMeshesImpl
0x000002A2B440E6A0 (Mono JIT Code) (wrapper managed-to-native) UnityEngine.Mesh:CombineMeshesImpl (UnityEngine.Mesh,UnityEngine.CombineInstance[],bool,bool,bool)
0x000002A2B440E5B3 (Mono JIT Code) UnityEngine.Mesh:CombineMeshes (UnityEngine.CombineInstance[],bool,bool)
0x000002A2B440DC6B (Mono JIT Code) [MeshHelper.cs:95] Coffee.UIExtensions.MeshHelper:CombineMesh (UnityEngine.Mesh)
0x000002A2B4403213 (Mono JIT Code) [UIParticleUpdater.cs:241] Coffee.UIExtensions.UIParticleUpdater:BakeMesh (Coffee.UIExtensions.UIParticle)
0x000002A2B43FFB53 (Mono JIT Code) [UIParticleUpdater.cs:66] Coffee.UIExtensions.UIParticleUpdater:Refresh (Coffee.UIExtensions.UIParticle)
0x000002A2A7F0A6BB (Mono JIT Code) [UIParticleUpdater.cs:48] Coffee.UIExtensions.UIParticleUpdater:Refresh ()
0x000002A2A7ED1EB2 (Mono JIT Code) (wrapper delegate-invoke) :invoke_void ()
0x000002A2A7ED1CCC (Mono JIT Code) UnityEngine.Canvas:SendWillRenderCanvases ()
0x000002A2A7ED1D6D (Mono JIT Code) (wrapper runtime-invoke) object:runtime_invoke_void (object,intptr,intptr,intptr)
0x00007FF9C10ED8A0 (mono-2.0-bdwgc) [mini-runtime.c:2809] mono_jit_runtime_invoke
0x00007FF9C1072912 (mono-2.0-bdwgc) [object.c:2921] do_runtime_invoke
0x00007FF9C107B96F (mono-2.0-bdwgc) [object.c:2968] mono_runtime_invoke
0x00007FF63A3AAA24 (Unity) scripting_method_invoke
0x00007FF63A3A455B (Unity) ScriptingInvocation::Invoke
0x00007FF638FF9896 (Unity) UI::InitializeCanvasManager'::2'::UIEventsWillRenderCanvasesRegistrator::Forward
0x00007FF639D28E41 (Unity) InitPlayerLoopCallbacks'::2'::PostLateUpdatePlayerUpdateCanvasesRegistrator::Forward
0x00007FF639D11BD9 (Unity) ExecutePlayerLoop
0x00007FF639D11CB0 (Unity) ExecutePlayerLoop
0x00007FF639D16F0C (Unity) PlayerLoop
0x00007FF63AFA4EEE (Unity) PlayerLoopController::UpdateScene
0x00007FF63AFA40E0 (Unity) Application::TickTimer
0x00007FF63B79E8E3 (Unity) MainMessageLoop
0x00007FF63B7A7C4E (Unity) WinMain
0x00007FF63D410556 (Unity) __scrt_common_main_seh
0x00007FFA4AED7BD4 (KERNEL32) BaseThreadInitThunk
0x00007FFA4CB2CE51 (ntdll) RtlUserThreadStart

To Reproduce
Steps to reproduce the behavior:

  1. Go to '...'
  2. Click on '....'
  3. Scroll down to '....'
  4. See error

Expected behavior
A clear and concise description of what you expected to happen.

Screenshots
If applicable, add screenshots to help explain your problem.

Environment (please complete the following information):

  • Version [e.g. 1.0.0]
  • Platform: [e.g. Editor(Windows/Mac), Standalone(Windows/Mac), iOS, Android, WebGL]
  • Unity version: [e.g. 2020.1.2f1]
  • Build options: [e.g. IL2CPP, .Net 4.x, LWRP]

Additional context
Add any other context about the problem here.

@cfoulston cfoulston added the bug Something isn't working label Sep 2, 2020
@mob-sakai
Copy link
Owner

@cfoulston
What version of ParticleEffectForUGUI and what version of Unity are you using?

@cfoulston
Copy link
Author

cfoulston commented Sep 2, 2020

Unity 2020.1.2f1
Particle UI 3.0.0-preview 30
URP 8.2.0

I'll try creating a simple repo tomorrow. But my current setup is having multiple particles in a scroll rect, and when disabling and enabling parents the issue occurs.

It does not occur on first play. Only after second play

@mob-sakai
Copy link
Owner

@cfoulston
Thank you for your cooperation.

@mob-sakai
Copy link
Owner

@cfoulston
It is reproduced in my environment.

mob-sakai added a commit that referenced this issue Sep 2, 2020
github-actions bot pushed a commit that referenced this issue Sep 2, 2020
# [3.0.0-preview.31](v3.0.0-preview.30...v3.0.0-preview.31) (2020-09-02)

### Bug Fixes

* combine Instances error ([878f812](878f812)), closes [#91](#91)
* in rare cases, the particle size is incorrect with camera-space mode ([90593ac](90593ac)), closes [#93](#93)
* trails material uses sprite texture ([9e65ee7](9e65ee7)), closes [#92](#92)

### Features

* refresh children ParticleSystem with a gameObjects as root ([8bae1d0](8bae1d0))
@github-actions
Copy link

github-actions bot commented Sep 2, 2020

🎉 This issue has been resolved in version 3.0.0-preview.31 🎉

The release is available on:

Your semantic-release bot 📦🚀

LionelPerrault added a commit to LionelPerrault/Unity-Particle that referenced this issue Jul 25, 2023
# [3.0.0-preview.31](mob-sakai/ParticleEffectForUGUI@v3.0.0-preview.30...v3.0.0-preview.31) (2020-09-02)

### Bug Fixes

* combine Instances error ([878f812](mob-sakai/ParticleEffectForUGUI@878f812)), closes [#91](mob-sakai/ParticleEffectForUGUI#91)
* in rare cases, the particle size is incorrect with camera-space mode ([90593ac](mob-sakai/ParticleEffectForUGUI@90593ac)), closes [#93](mob-sakai/ParticleEffectForUGUI#93)
* trails material uses sprite texture ([9e65ee7](mob-sakai/ParticleEffectForUGUI@9e65ee7)), closes [#92](mob-sakai/ParticleEffectForUGUI#92)

### Features

* refresh children ParticleSystem with a gameObjects as root ([8bae1d0](mob-sakai/ParticleEffectForUGUI@8bae1d0))
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 on @preview
Projects
None yet
Development

No branches or pull requests

2 participants