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

HEU_InputNode serialization of prefab child/ sub gameobjects in scene breaking when child/sub objects have the same name #26

Open
svenneve opened this issue Dec 15, 2022 · 1 comment

Comments

@svenneve
Copy link

svenneve commented Dec 15, 2022

HEU_InputNode serialization of prefab child/ sub gameobjects in scene breaking when child/sub objects have the same name.

So say we have a 2 different prefabs, say, obj1 and obj2, both with children called ,say, 'mychildgameobject', and we reference those child objects in a HEU_Asset inputs, Houdini will break serialization when rebuilding the hda/otl.
Now both inputs will both reference only one of the child objects in both inputs, thus loosing reference to one of the game objects.

This is a major bug that breaks many of our levels when rebuilding.

I'ts like HEU_Inputs serialize input objects by name, rather than prefab/assetdatabase guid refence.

@jakub-czulada
Copy link

Hey,
If anyone's interested, I recently changed the serialization of scene objects to use GlobalObjectId instead of names, because we (the studio) ran into the same issue :) It's not the most pristine way to do this, but I also wanted to change as little code as possible.

Here's the fork: https://github.com/AIG-Studios/HoudiniEngineForUnity

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

No branches or pull requests

2 participants