Attribute Wrangle Mis-Match error on N.

   4164   8   1
User Avatar
Member
27 posts
Joined: Jan. 2019
Offline
Hi,

I;m following a tutorial and getting the below area. I have attached the .hip file as I can't seem to solve it

I have gone over and over the tutorial and feel I have missed something or something hasn't been explained in the tutorial


A mis-match of attributes on the inputs was detected. Some attribute values may not be initialized to expected values, i.e.: N.

Hope someone can help

Kind regards
Joe

Attachments:
error.hip (183.4 KB)

User Avatar
Member
899 posts
Joined: Feb. 2016
Offline
Hello,
you can often don't care much about that type of error on the merge node.

Anyway, why this happen? Because you merge two nodes that haves different attributes.
In your case, the right input node comes with a “N” attribute, while the left input node comes without it.
So what does the Merge Node do when it comes to merge everything into a single geometry?
It needs to create the missing attribute for the left input node, and initialize it to 0. You can't have NO attribute for a group of points, and have an attribute for the rest of the points of the same geo.

Furthermore, how did you ended up with the “N” attribute attached to the right input node?
Because in the copy to points node you have checked the “copy point attributes” toggle. This toggle is responsible of copying all the specified attributes from the source points onto the instanced geo.
If you uncheck it, you fix the warning message on the merge node
Edited by Andr - March 7, 2019 05:24:35

Attachments:
n.JPG (24.1 KB)

User Avatar
Member
27 posts
Joined: Jan. 2019
Offline
Andr
Hello,
you can often don't care much about that type of error on the merge node.

Anyway, why this happen? Because you merge two nodes that haves different attributes.
In your case, the right input node comes with a “N” attribute, while the left input node comes without it.
So what does the Merge Node do when it comes to merge everything into a single geometry?
It needs to create the missing attribute for the left input node, and initialize it to 0. You can't have NO attribute for a group of points, and have an attribute for the rest of the points of the same geo.

Furthermore, how did you ended up with the “N” attribute attached to the right input node?
Because in the copy to points node you have checked the “copy point attributes” toggle. This toggle is responsible of copying all the specified attributes from the source points onto the instanced geo.
If you uncheck it, you fix the warning message on the merge node


Hi Andr!

Thanks alot for the reply and sorry for the slow reply back. That worked great and you explained it so simply as well

Thanks you again

Joe
User Avatar
Member
27 posts
Joined: Jan. 2019
Offline
Andr
Hello,
you can often don't care much about that type of error on the merge node.

Anyway, why this happen? Because you merge two nodes that haves different attributes.
In your case, the right input node comes with a “N” attribute, while the left input node comes without it.
So what does the Merge Node do when it comes to merge everything into a single geometry?
It needs to create the missing attribute for the left input node, and initialize it to 0. You can't have NO attribute for a group of points, and have an attribute for the rest of the points of the same geo.

Furthermore, how did you ended up with the “N” attribute attached to the right input node?
Because in the copy to points node you have checked the “copy point attributes” toggle. This toggle is responsible of copying all the specified attributes from the source points onto the instanced geo.
If you uncheck it, you fix the warning message on the merge node

Hi Again Andr,

I have moved on a fair bit through the tutorial and have got a similar issue again except this time it's not related to the “Copy Point Attributes” Toggle. If you have the time i'd love it if you could explain in simple terms whats gone wrong in such a way that it explains whats going on and then I can see if I can fix it without you telling me exactly what to do if that makes sense (I'm new to houdini so want to try as hard as I can to solve bugs etc to learn )

Thankyou for your help

Joe
Edited by joedickenson - March 12, 2019 18:43:55

Attachments:
errorFile.hip (324.8 KB)

User Avatar
Member
27 posts
Joined: Jan. 2019
Offline
Hi Andr,

I think I have found the issue I went to the Copytopoints node and ticked “Pack and Instance” and it seems to of set things right. Is this the correct thing to do? Why did it do that?

Thanks
Joe
User Avatar
Member
899 posts
Joined: Feb. 2016
Offline
Hello, where is the error located and what does it say?


Unfortunately or the superSweeper nodes I get the following message:
This node is using an incomplete asset definition.

Which means I don't have the digital asset you are using, so I can't really see how your network is working

If you are allowed, you can attach the digital asset too, or embed it in your hip file
cheers
User Avatar
Member
899 posts
Joined: Feb. 2016
Offline
joedickenson
Hi Andr,

I think I have found the issue I went to the Copytopoints node and ticked “Pack and Instance” and it seems to of set things right. Is this the correct thing to do? Why did it do that?

Thanks
Joe


ah, good that you fix it yourself!
However I can't tell if's correct (I don't know what error you were getting)
Do you need packed primitives?
http://www.sidefx.com/docs/houdini/model/packed.html [www.sidefx.com]
Edited by Andr - March 12, 2019 19:10:07
User Avatar
Member
27 posts
Joined: Jan. 2019
Offline
Andr
joedickenson
Hi Andr,

I think I have found the issue I went to the Copytopoints node and ticked “Pack and Instance” and it seems to of set things right. Is this the correct thing to do? Why did it do that?

Thanks
Joe


ah, good that you fix it yourself!
However I can't tell if's correct (I don't know what error you were getting)
Do you need packed primitives?
http://www.sidefx.com/docs/houdini/model/packed.html [www.sidefx.com]


Hi again

Oh sorry i thought i put the error message haha the message im getting is:

A mis-match of attributes on the inputs was detected. Some attribute values may not be initialized to expected values, e.g.: uv, roofProp, Cd, randCol, rot, …

I have also attached the supersweeper

Thanks
Joe
Edited by joedickenson - March 12, 2019 19:13:38

Attachments:
SuperSweeper.hda (11.5 KB)

User Avatar
Member
899 posts
Joined: Feb. 2016
Offline
A miss match of attributes on a merge node means that some nodes come with different attributes.
So you need to do something about it before the merge. It's suggested but not always mandatory that two branches of the network should come with the same attributes.

Regarding merge4 node the problem is very easy to fix, you should be able to see how you create that miss-matched “shop_material” attribute. Use middle mouse on the nodes or the geometry spreadsheet to see at which point of the newtwork that attribute is being generated.

Regarding merge3 node, I can't really tell because I don't have the geo files you load from disk.
But again, I can see you want to merge together different nodes with different attributes.
Also, what's the difference between the uv attribute on foreach_end1 and the uv attribute on foreach_end2?

Cheers
  • Quick Links