Skip to content
This repository has been archived by the owner on Jul 22, 2023. It is now read-only.

Tool does not account for ObjectValues #96

Open
RatIsMyUsername opened this issue Jan 10, 2023 · 3 comments
Open

Tool does not account for ObjectValues #96

RatIsMyUsername opened this issue Jan 10, 2023 · 3 comments

Comments

@RatIsMyUsername
Copy link

I have ObjectValues under some models that reference other models, since the tool exports them as separate .rbxm files, they can't reference each other anymore, when I build the place back the values are empty. One workaround for now Is to export lowest common ancestor of the given models as a one .rbxm file instead of going down the hierarchy and exporting children separately

@eAi
Copy link

eAi commented Jan 10, 2023

I’m not sure whether you’re reporting a bug here. I believe this behaviour is what you would expect. Doing anything else isn’t possible within the constraints of the format as it doesn’t support references outside a file - and the way remodel works wouldn’t really be compatible with this as each model file is generated one-by-one.

@RatIsMyUsername
Copy link
Author

Yeah that does make sense, registering this as a bug would be pointless. But the documentation should highlight such caveats more clearly at least, or throw Rojo warning in the game output window for object values that failed to map

@eAi
Copy link

eAi commented Jan 13, 2023

Yes, I agree about that. I think this is probably severe enough that remodel should error if this happens, at least by default, as tracking it down isn’t easy and it isn’t necessarily intuitive. I believe the references that are left in the file are invalid after this happens - they point to an ID that doesn’t exist.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants