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

ParticleSystemBakeMeshOptions not existing in the current context #789

Closed
3 of 7 tasks
CG-Tespy opened this issue Oct 14, 2024 · 6 comments
Closed
3 of 7 tasks

ParticleSystemBakeMeshOptions not existing in the current context #789

CG-Tespy opened this issue Oct 14, 2024 · 6 comments
Labels

Comments

@CG-Tespy
Copy link

Describe the bug 💬

I've been wanting to take a model and apply the Unity Humanoid Rig to it, so I decided to try UnityGLTF. Problem is that right after importing it, I got this error: Library\PackageCache\[email protected]\Runtime\Scripts\Plugins\Experimental\BakeParticleSystem.cs(39,40): error CS0103: The name 'ParticleSystemBakeMeshOptions' does not exist in the current context

This keeps me from being able to use UnityGLTF.

Steps to reproduce 🔢

  1. Import the package

Files to reproduce the issue ♻

No response

Editor Version 🎲

2022.3

Render Pipeline and version

URP 14.0.7

UnityGLTF Version

2.13.0

Operating System 👩‍💻

Windows

When does this problem happen?

  • Editor Import
  • Runtime Import
  • Editor Export
  • Runtime Export

Additional Info 📜

No response

Validations 🩹

@hybridherbst
Copy link
Collaborator

Hey, which 2022.3 version are you using exactly?

@hybridherbst
Copy link
Collaborator

hybridherbst commented Oct 14, 2024

@CG-Tespy seems Unity added that option starting with 2022.3.11f1.

So would be great if you could upgrade to a later 2022.3 than you're currently using (at least 2022.3.11f1), and try again.

We'll fix this in an upcoming release but since it's regarding an old Unity version it won't be an urgent fix.

@CG-Tespy
Copy link
Author

I've tried it with 2022.3.47f1 and instead got this error:

Multiple scripted importers are targeting the extension 'glb' and have all been rejected: UnityGLTF.GLTFImporter (assembly: F:\UnityProjects_Sandboxes\AnimationSandbox_2022LTS\Library\ScriptAssemblies\UnityGLTFEditor.dll), UniGLTF.GlbScriptedImporter (assembly: F:\UnityProjects_Sandboxes\AnimationSandbox_2022LTS\Library\ScriptAssemblies\UniGLTF.Editor.dll)
UnityEditor.AssetImporters.ScriptedImporter:RegisterScriptedImporters ()

The package does still show up in the Package Manager, though.
image

@hybridherbst
Copy link
Collaborator

This is a separate issue, and unfortunately caused by Unity's ScriptedImporter architecture.

We made sure the two major glTF packages – UnityGLTF and glTFast – can coexist in one project, but the same isn't true for UniGLTF at the moment.

Please remove UniGLTF if you want to use UnityGLTF for the time being.

@hybridherbst
Copy link
Collaborator

UniGLTF claims compatibility already: vrm-c/UniVRM#1576
I'll check why that doesn't work anymore from their end.

@CG-Tespy
Copy link
Author

Thank you very much. I didn't realize I even had UniGLTF installed in that project, but after uninstalling it, I no longer got any errors from this asset package

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants