Skip to content
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

Serializing 3D Scaling to Prefabs #346

Closed
skyewontmiss opened this issue Dec 21, 2024 · 4 comments
Closed

Serializing 3D Scaling to Prefabs #346

skyewontmiss opened this issue Dec 21, 2024 · 4 comments
Assignees
Labels
question Further information is requested released

Comments

@skyewontmiss
Copy link

NOTE: Your issue may already be reported! Please search on the issue tracker before creating one.

Describe what help do you need
I want to toggle 3D scaling in a prefab, then have it retroactively apply to all prefabs, so that i can set all of their 3D values inside of a script they all have.

They apply, but not during playmode. They appear to reset to uniform scaling.

@skyewontmiss skyewontmiss added the question Further information is requested label Dec 21, 2024
@mob-sakai
Copy link
Owner

Thank you for your reporting!
Tell me about your develop/build environment.

  • version [e.g. 4.10.0]
  • Platform: [e.g. Editor(Windows/Mac), Standalone(Windows/Mac), iOS, Android, WebGL]
  • Unity version: [e.g. 2022.2.0f1]
  • Build options: [e.g. IL2CPP, .Net 4.x, URP/HDRP]

Could you please attach a minimal project (included Assets, Packages and ProjectSettings directories) that reproduces the issue?
Of course, you don't need to include any secret assets from your project. Feel free to use free assets instead.

repos

@skyewontmiss
Copy link
Author

skyewontmiss commented Dec 21, 2024

Hi! Thanks so much for the swift reply.

version 4.10.4
Platform: Windows - Unity Editor
Unity version: 2021.3.12f1
Build options: .Net 4.x

really hoping this isn't broken
Project File: https://filetransfer.io/data-package/UUz7bCxq#link

Open scene "Button Test" to see the issue. You can click buttons, and if you go under one of the button's UI Particle:
image
you can see that it's set to 1D scaling instead of 3D scaling when in playmode.

Non-Playmode:
image

Playmode:
image

If you search "Button" in the Project panel, click this prefab:
image

And you can edit the UIParticle via:
image

Do tell me if there are any issues with my files. Thanks!

@mob-sakai
Copy link
Owner

Thank you.

github-actions bot pushed a commit that referenced this issue Dec 23, 2024
## [4.10.5](v4.10.4...v4.10.5) (2024-12-23)

### Bug Fixes

* '3D' scale toggle in the inspector does not keep on reload ([934f4b8](934f4b8)), closes [#346](#346)
@mob-sakai
Copy link
Owner

🎉 This issue has been resolved in version 4.10.5 🎉

The release is available on GitHub release

Your semantic-release bot 📦🚀

github-actions bot pushed a commit that referenced this issue Dec 23, 2024
## [4.10.5](v4.10.4...v4.10.5) (2024-12-23)

### Bug Fixes

* '3D' scale toggle in the inspector does not keep on reload ([934f4b8](934f4b8)), closes [#346](#346)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested released
Projects
None yet
Development

No branches or pull requests

2 participants