Open passivestar opened 2 months ago
I looked into this issue and I don't see an easy way this fix that. Maybe a solution would be to add an option to keep the suffixes in the node name (ex: -col) but that would lead to another problem where modifying suffixes would lead to lose track of the parent of the added node causing a weird situation where the child lose it's parent. Also, in your example, you added a new cube over the first but if it was added under, all would be correct and I don't see how to distinguish these two situations.
Maybe if you explain me a bit more in which context in a real workflow that could happen a solution could be found.
Maybe if you explain me a bit more in which context in a real workflow that could happen a solution could be found.
The real-world situation is:
-col
suffix (Cube-col
) for level geometry, extrude it, copy faces around, etcCube
name. You forget to add a hint to it and reimport. By the time you realize that you forgot to add a hint it's already too late, if you added children they switched parentJust to clarify this isn't a huge problem, it can be worked around. It's more of a QOL thing
So the problem is that while blender usually forces objects to have unique names by appending numbers it won't happen when objects' names have hints. Maybe you're right and there's nothing we can do on Godot side. Maybe Blender should have an option to enforce unique names without hints 🤔
Thanks for the details. I'll continue to think about it or maybe someone will have a brilliant idea.
Tested versions
v4.3.beta.custom_build [f3af22b10] (master)
System information
Godot v4.3.beta (f3af22b10) - macOS 14.5.0 - Vulkan (Forward+) - integrated Apple M1 Max - Apple M1 Max (10 Threads)
Issue description
https://github.com/godotengine/godot/assets/60579014/aaea9510-b8bb-4261-b2af-babd96fe2a9f
This happens because godot only keeps the hint in the name when there's a conflict (as opposed to always keeping it). This can probably be solved by just always keeping hints in the names
cc @Hilderin
Steps to reproduce
Cube-col
and exportCube
and exportMinimal reproduction project (MRP)
Can only be reproduced by following the steps