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

C# Library import issues for GPUParticles3D/CPUParticles3D etc #100957

Open
levithepants opened this issue Dec 30, 2024 · 0 comments
Open

C# Library import issues for GPUParticles3D/CPUParticles3D etc #100957

levithepants opened this issue Dec 30, 2024 · 0 comments

Comments

@levithepants
Copy link

levithepants commented Dec 30, 2024

Tested versions

Discovered in Godot v4.3.stable.mono.official [77dcf97]
Other versions unknown.

System information

Godot v4.3.stable.mono - Windows 10.0.19045 - Vulkan (Forward+) - integrated AMD Radeon(TM) Graphics (Advanced Micro Devices, Inc.; 31.0.21910.5) - AMD Ryzen 5 5500U with Radeon Graphics (12 Threads)

Issue description

Greetings!
There seems to be a mismatch between documentation and actual design when it comes to GPUParticles3D and all related nodes. In the documentation it is listed as "GPUParticles3D", but in GodotSharp.xml (root/GodotSharp/Api/Release/GodotSharp.xml) it is listed as "GpuParticles3D".
Thus, when trying to use GPUParticles3D, one gets the error "The type or namespace name 'CPUParticles3D' could not be found (are you missing a using directive or an assembly reference?)" because GPUParticles3D doesn't actually exist, only GpuParticles3D exists.

Of course, newly armed with this knowledge I can easily continue my work, but this was a stumbling block for me and I'm sure it will be for many others unless the documentation matches the xml file, regardless of which side yields to the other.

Tl:Dr:
Please ether change the root/GodotSharp/Api/Release/GodotSharp.xml to match with "GPUParticles3D" and "CPUParticles3D" etc or change the documentation and syntax highlighting to match the xml file's GpuParticles3D and CpuParticles3D.

So, it's not a Godot breaker, but it is a rough edge that I'd like to see patched up!
Cheers!

Steps to reproduce

Add GPUParticles3D into your code, at any point, and compile for immediate results.
I first discovered it with
GPUParticles3D dustParticles = new GPUParticles3D();

Minimal reproduction project (MRP)

N/A

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

No branches or pull requests

2 participants