Neos-Metaverse / NeosPublic

A public issue/wiki only repository for the NeosVR project
195 stars 9 forks source link

Asset optimization wizard only affects materials stored in assets #3414

Open kulzae opened 2 years ago

kulzae commented 2 years ago

Describe the bug?

It seems the Asset Optimization Wizard only affects objects who have their materials stored in the asset folders. Objects whos materials are stored on the object itself are unaffected even if the slot the materials are stored under is set as the slot reference for the wizard.

Relevant issues

https://github.com/Neos-Metaverse/NeosPublic/issues/3409

To Reproduce

Create object Add material component to the object Add texture to material Place that objects slot in the asset optimization wizard in an attempt to resize the texture observe that the texture size does not change

Expected behavior

The wizard would affect anything under the slot thats being plugged into it. regardless if the materials are stored on the object under the slot or in the assets folder

Log Files

No response

Screenshots

No response

How often does it happen?

Always

Does the bug persist after restarting Neos?

Yes it still occurs. but textures re sized before a restart will be correct size after

Neos Version Number

2021.11.10.1265

What Platforms does this occur on?

Windows

Link to Reproduction Item/World

No response

Did this work before?

I Don't Know

If it worked before, on which build?

No response

Additional context

No response

Reporters

Noticed by Win189 in this issue https://github.com/Neos-Metaverse/NeosPublic/issues/3409 after attempted replication

kulzae commented 2 years ago

It seems it IS being set but its not actually being updated. inspecting the texture shows that it is setting the max size field but the texture resolution isnt changing image

Additionally restarting neos after setting the texture (saving and closing the world. then re opening it) seems to set the texture to the correct resolution. so the bug might only be visual