Very small PR, to solve an issue that bugs me for my electricity PR. Construction hologram should not do anything beside displaying visually the item to pose. Currently, all the monobehaviours on the hologram will start and try to execute some logic. I ru into some trouble because of that. What this PR does is that it disable all monobehaviours upon instantiating an object to be an hologram. I've tried with around 30 holograms and didn't notice any issue.
PR checklist
[x] The game builds properly without errors.
[x] No unrelated changes are present.
[x] No "trash" files are committed.
[x] Relevant code is documented.
[ ] Update the related GitBook document, or create a new one if needed.
Pictures/Videos)
Testing
Networking checklist
[x] Works from host in host mode.
[x] Works from server in server mode.
[x] Works on server in client mode.
[x] Works and is syncronized across different clients.
Summary
Very small PR, to solve an issue that bugs me for my electricity PR. Construction hologram should not do anything beside displaying visually the item to pose. Currently, all the monobehaviours on the hologram will start and try to execute some logic. I ru into some trouble because of that. What this PR does is that it disable all monobehaviours upon instantiating an object to be an hologram. I've tried with around 30 holograms and didn't notice any issue.
PR checklist
Pictures/Videos)
Testing
Networking checklist
Changes
Related issues/PRs