Announcements

The Autodesk Community Forums has a new look. Read more about what's changed on the Community Announcements board.

I got Error message: MpolyTexturePlacementPanel1UVSetTooManyObjects

g2m.agent
Collaborator

I got Error message: MpolyTexturePlacementPanel1UVSetTooManyObjects

g2m.agent
Collaborator
Collaborator

// Error: file: C:/Program Files/Autodesk/Maya2018/scripts/others/texturePanelMenus.mel line 2288: Object's name 'MpolyTexturePlacementPanel1UVSetTooManyObjects' is not unique. // 

 

What does it mean?

0 Likes
Reply
Accepted solutions (3)
39,051 Views
19 Replies
Replies (19)

sean.heasley
Alumni
Alumni

Hi @g2m.agent

 

I need a little more information. What are you doing when this error occurs?

 

Are you using a script you made or any 3rd party scripts?

 

Please come back with as much information as possible!

0 Likes

g2m.agent
Collaborator
Collaborator

just select a big group, it contain many objects, the object has .DDS texture.

 

Windows 7

i5-3470 + 16GB DDR3 1600 + Geforce 1070 8GB

 

maya_2018-01-06_05-03-10.jpg

0 Likes

sean.heasley
Alumni
Alumni

Hi @g2m.agent

 

I've only seen errors like this with mel scripting, the fact that its happening when you select an object is really unusual.

 

Does this happen if you select other objects?

 

You could also try deleting your settings/preferences.

 

Let me know if anything changes!

0 Likes

g2m.agent
Collaborator
Collaborator

i gave up. maybe Maya cant handle too much DDS texture.

0 Likes

sean.heasley
Alumni
Alumni

Hi @g2m.agent

 

That may be possible but I'd like to do some more testing if you don't mind.

 

When you get a chance, can you please zip and attach the scene file here or via dropbox/google drive or another file sharing program so I can take a look at it?

0 Likes

g2m.agent
Collaborator
Collaborator

thank you for your attention.

 

i can't upload entire project, because it is BIG. but i can upload full scene and few DDS samples.

 

here is:

https://drive.google.com/open?id=1VC0owjEM_DnItDyTmeYciBg4e7c4djeW

 

 

0 Likes

g2m.agent
Collaborator
Collaborator

I think I found the problem: Maya can't handle too many objects in the scene. not .dds texture, nor the number of faces of the model, just number of objects!

 

I imported a .STEP file, a pure NURBS model with 10,000 to 20,000 objects. my CPU usage is less than half, once the object is selected, the number of frames in the scene is very high (90+), but as long as I select other objects, Maya will FREEZE, and you must wait a few seconds until maya unfreezing.

0 Likes

mspeer
Consultant
Consultant
Accepted solution

Hi!

 

Handling many individual objects is a problem for every realtime engine (game engine or Maya Viewport).

Watch your frame rate if you disable Consolidate World in Viewport 2.0 options.

 

Everything above 5000 will slow down your performance noticeable.

 

There may be other problems too but more than 20 000 objects will result in a huge performance drop for some actions.

0 Likes

sean.heasley
Alumni
Alumni

Hi @g2m.agent

 

Ah yes that could be the problem. The scene you sent me was cleaned up well so I had no issues but if you're working with that many objects than that is most likely why you're seeing this issue.

0 Likes

JJCoddington
Explorer
Explorer

I too, get this message.

 

It happens when selecting a rather simple piece of geometry.

 

See screenshots

 

Thanks for any suggestions!

FirespriteNate
Advocate
Advocate
Accepted solution

This happens whenever you have more than 100 mesh objects (with UVs) selected while the UV Editor is open. 

 

Basically it's because there is an error in one of the UV Editor mel scripts. Literally every time selection changes, or a UV set is modified the function textureWindowUpdateUVSets() inside texturePanelMenus.mel is called. This function is responsible for creating the "Current UV Sets" sub menus on the UV Editor "UV Sets" menu. The last thing this function does is to create a NEW menuItem to warn the user that "too many objects are selected" to display all their UV information. It tries to create this menuItem every time using the same uiControl name: ($prefix+"UVSetTooManyObjects").

Obviously, after the first time this happens an error is thrown because a ui item with that name already exists.

 

There is no real "fix" or solution to this issue (unless you want to edit the installed MEL yourself), the only workaround is to only select 99 or less objects. You can safely ignore this error though as it's thrown right at the end of the script so it doesn't cause anything else to stop working, but it's still annoying as hell.

 

The real solution, should Autodesk be bothered to correct it, is either to ensure that this menuItem is destroyed on each menu update, or alternatively to check if it exists first before trying to recreate it. Either option is one or two lines of additional MEL.

 

mspeer
Consultant
Consultant

Hi!

@FirespriteNate, thanks for this detailed information.

 

@g2m.agent ,@JJCoddington , @sean.heasley 

as @FirespriteNate stated, just ignore the error message.

 

 

Anyone should report this problem (bug?) to Autodesk.
Help -> Speak Back -> Report a Problem

0 Likes

Anonymous
Not applicable

Hey Sean, did you see what Nathan Roberts suggested? Sounds like you guys could fix this issue now right?

0 Likes

sean.heasley
Alumni
Alumni

Hi @Anonymous

 

Yup! I passed this information along to our dev team and the report as soon as it was added back in February Smiley Happy!

 

 

 

Anonymous
Not applicable

This error still seem to exist in Maya 2018.. Although its not throwing error till selection of 100 object and pops up as soon as you add select the 101th object. 

0 Likes

Anonymous
Not applicable

This is a Add on question based on the topic, I understand that having more then 100 objects in the U.V. viewport is a problem for Maya because it is ultimately a animation program. my school teaches that because it is a default program. but for 3D modeling there should be a option for 3D or animation in the base programing to limit the errors. Not only would it help with error chasing but it will help with the ability and recourses needed for a student. its not hard to split the code for designation. as a student of AAU we want a program that works. Over a program that does everything. (Currently I am using 2019, because every time i open 2020 it crashes, And I mean every time!)

 

Justin Goodrich

Student Academy Art University, San Francisco. California

 

and ye I love the program that is why I am giving all the information I can to help.

Pablodeleo
Participant
Participant

This interface issue, comes from long ago. What i do is reset the UI, i changing the workspace and going back to the same workspace. For the moment it work to me, buy it would be good if that poster is already in future versions.

0 Likes

Anonymous
Not applicable
Accepted solution

I just had exactly the same problem... for me aparantly it had to do with an excess of history. I selected all my objects and clicked the delete history button and boom! the error is gone. I do have to say that I did not get the error when selecting objects I got it for every edge, face or vertice I selected, it also slowed down maya for a crazy amount of time with every select. Hope this helps.

0 Likes

hugosilva96
Community Visitor
Community Visitor

// Error: file: C:/Program Files/Autodesk/Maya2019/scripts/others/texturePanelMenus.mel line 2298: Object's name 'MpolyTexturePlacementPanel1UVSetTooManyObjects' is not unique.

CTRL + D = Fatal erro

Every time I need to duplicate an object with open UV Maya closes. Fatal error