Giter VIP home page Giter VIP logo

Comments (5)

spham-amzn avatar spham-amzn commented on June 14, 2024 2

It turns out this issue is a sympton related to #17700. This root cause of the issue is that physxmaterial is not registered as an asset type, because the AssetProcessorGemConfig.setreg was not being processed by the builders. This PR will resolve this issue.

from o3de.

slapin avatar slapin commented on June 14, 2024

Need to mention that you can just create any physx material using Asset Editor, the bounce.zip is just for easier reproduction.
To me it happens every time - I can only create physx material in AssetEditor once then I have to edit it using text editor (which is not nice as it is hard to guess some values).

from o3de.

AaronRuizMoraUK avatar AaronRuizMoraUK commented on June 14, 2024

I'm hitting this issue as well on commit 0f95546.

I noticed that Asset Editor is not working properly with PhysX Material. This is the behaviour I'm encountering:

  • Asset Editor can create a PhysX Material fine, but after the initial save it won't work anymore.
  • Subsequent modifications and resavings won't modify the file at all.
  • When closing the physics material and then reopening using "File > Recents" it'll either crash or open it with no properties.
  • When doing "File > Open..." none of the Physics Materials files are listed.

from o3de.

AaronRuizMoraUK avatar AaronRuizMoraUK commented on June 14, 2024

Thanks @spham-amzn, I've got your fix locally and tested it. The first 3 points from my comment are fixed, but the last one is still happening unfortunately, Asset Editor "File > Open..." now lists the Physics Material already existing, but it won't list the Physics Material just created, oddly a restart of the Editor is necessary to pick it up (which is very inconvenient).

Steps:

  • Open Editor
  • Open Asset Editor
  • File > New > PhysX Material
  • File > Save with name Test. I saved it in my projects Assets folder: C:\Users\USER\.o3de\Projects\PROJECT\Assets
  • Close the PhyX Material
  • File > Open...

Expected:
The PhysX Material Test is listed so it can be opened

Current behaviour (with #17710):
The PhysX Material Test is not listed. It is processed by the Asset Processor though. After restarting the editor, open Asset Editor, File > Open... the PhysX Material Test does appear.

from o3de.

spham-amzn avatar spham-amzn commented on June 14, 2024

I reproduced it on Linux, but also noticed that it will open if you do File -> Open Recent. It may be an issue with asset browser dialog.

from o3de.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.