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

Visual bug with Actor Prefab icons #1624

Open
KirbyKing186 opened this issue Oct 29, 2024 · 2 comments
Open

Visual bug with Actor Prefab icons #1624

KirbyKing186 opened this issue Oct 29, 2024 · 2 comments
Labels
bug Something isn't working

Comments

@KirbyKing186
Copy link

Describe the bug
Actor Prefabs will use the sprite icon of the first sprite in the Sprites tab (ordered by A-Z name), as opposed to the icon from their own sheet. This icon is used for events that accept actors, such as “Actor Move To”.

To Reproduce
Steps to reproduce the behavior:

  1. Make an actor and make it use the sprite sheet of any sprite except the first sprite of the project (ordered by A-Z name).
  2. Convert the actor into a prefab.
  3. Add the actor prefab to a new scene.
  4. Use an event related to actors, such as “Actor Move To”
  5. View that instead of the prefab using its own sprite icon, it will use the first sprite of the project’s icon.

Platform (please complete the following information):

  • OS: [Windows 11]
  • App version [4.1.3]

Additional context
Additionally, I feel it would be beneficial if when placing Actor Prefabs, they could have the option to keep their name when placed, instead of being converted to “Actor 1/2/3/etc.”

@KirbyKing186 KirbyKing186 added the bug Something isn't working label Oct 29, 2024
@chrismaltby
Copy link
Owner

Hi @KirbyKing186 following these steps I've been able to see the same issue.

I've pushed an update that fixes the icon used in those dropdowns which will be included in the next release.

I've also taken your suggestion about using the prefab name when creating new instances of prefabs, I think that's a better default behaviour :-)

@KirbyKing186
Copy link
Author

Thank you for fixing this bug, and adding the feature about prefab names. I have been using more prefabs recently, and I was thinking about another feature request related to pins.

Prefabs retaining their pin (or having the option to) would be very useful, specifically for actors being used for UI elements (a timer, health bar, etc.)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants