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
Collection factories are broken in bundled builds #7434
Comments
Oh! Here's more info:
|
could you pls show how your setup looks like in the collection's outline? If you use external cache when build with bob, could you pls try turn it off? |
What is your |
Definitely not 0 and 8. Lemme check.
|
it is definitely a bug with components counter which were fully reworked in 1.4.3 to avoid issues with cache system. |
what do you use to spawn |
Yeah, collectionproxy. It's a monarch scene |
Maybe it's because the collection factory is in characters.collection, which is dropped into level1.collection? |
could you show me |
still works for me ( |
Want me to give you the project? |
That would be helpful, yes. Because for now I've no idea why it's happening (I understand where and don't understand why). You can share it with me privately here on github or using some other way |
Yup. Give me a bit to remove some stuff so it's easy to test |
Thank you! |
Sent! https://github.com/critique-gaming/rethink-collections-bug It should boot you straight to the problem area. In the editor it should work fine (after skipping tutorial, it should show a character), but when bundled it soft-locks when the first char should be shown. |
Great, thx! I'll take a look |
Now I can repo it, thx! |
@dapetcu21 Thanks to your example I found the issue. I'll prepare a PR tomorrow. |
Describe the bug (REQUIRED)
1.4.3 broke collection factories for us. In bundled builds collectionfactory.create() returns an empty table and nothing gets spawned. When running from the editor this doesn’t happen.
To Reproduce (REQUIRED)
Steps to reproduce the behavior:
We don't have a minimal repro case, but our code looks like this:
The collection factory is not loaded dynamically, nor does it have a dyamic prototype
Defold version (REQUIRED):
Platforms (REQUIRED):
The text was updated successfully, but these errors were encountered: