Skip to content

assetstools backend: include base monobehaviour fields #3

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

Conversation

jakobhellermann
Copy link

The AssetStudio backend includes the monobehaviour base fields in the generated types, but the AssetsTools backend doesn't.
This PR adds them to AssetsTools, but hardcoded. Maybe it should use the tpk class database, I'm not sure.

The alternatives would be to

  • never include monobehaviour base fields (dependencies like UnityPy would have to change their reading code)
  • make it configurable

I don't have a strong opinion on the matter, as long as it's consistent.

@jakobhellermann
Copy link
Author

jakobhellermann commented Jul 2, 2025

Also, should assembly names contain .dll or not? it would be nice to be consistent on that

EDIT: I think the part that's inconsistent is actually unity, on one game m_Script.m_AssemblyName contains .dll and on another it doesn't.

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

Successfully merging this pull request may close these issues.

1 participant