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

Allow instance prefabs to be an instance-less prefab #37

Open
isadorasophia opened this issue Oct 6, 2023 · 0 comments
Open

Allow instance prefabs to be an instance-less prefab #37

isadorasophia opened this issue Oct 6, 2023 · 0 comments

Comments

@isadorasophia
Copy link
Owner

Repro

  1. Create a prefab A
  2. Create an instance B from prefab A
  3. Delete prefab A

Expected
Prefab B will become a prefab by itself. Prefab A will be deleted.

Actual
Prefab A will be deleted. Prefab B will become "corrupted" and will need to be manually deleted. Any world instance of prefab A will be deleted from the world.

Fix
The fix is the tricky part. I guess we should scan all possible instances of prefab A prior to deleting it? Do we want to delete all the instances from the world or make them a complete instance (no prefab attached)?

We should come back at this eventually.

@isadorasophia isadorasophia changed the title Allow instance prefabs to be a instance-less prefab Allow instance prefabs to be an instance-less prefab Oct 6, 2023
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

No branches or pull requests

1 participant