editor icon indicating copy to clipboard operation
editor copied to clipboard

Custom Components don't get compiled on normal save

Open DokaebiYe opened this issue 2 years ago • 6 comments

Summary Issue #866 is not fixed in latest 2.6.1 version. But now the game doesn't display the error "unknow component bridge:xxxxxxxxx"(this error usually occur before on a normal save)

To Reproduce Make an entity file, add a custom component, save the file. The component will not be compiled. Can provide a test project if needed Restarting watch mode could sovle this issue temporarily.

Platform

  • OS: Windows 11
  • App Version: 2.6.1

DokaebiYe avatar Jul 22 '23 01:07 DokaebiYe

In addition, the saving speed of regular files is quite slow,and hope it can be optimized.

DokaebiYe avatar Jul 22 '23 01:07 DokaebiYe

Can you share a screenshot of your project layout, where are your components placed?

ThomasOrs avatar Sep 09 '23 23:09 ThomasOrs

image

DokaebiYe avatar Sep 11 '23 12:09 DokaebiYe

~~I found that this happens after loading up bridge with a custom component already created and in use. It seems like bridge is not registering that the component is connected to the files that depend on it until the custom component is saved or somehow compiled again. I believe this is an issue with dash and want to wait for the integration of Salp to fix this since I'm hesitant to modify Dash when I don't have access to the npm package.~~

outercloudstudio avatar Oct 07 '23 19:10 outercloudstudio

Going to revise my statement here. We have access to updating dash compiler and I am willing to go ahead and update it but this is low priority since and replacement for Dash is being worked on.

outercloudstudio avatar Oct 26 '23 02:10 outercloudstudio

I can note seem to reproduce this. Can you send an example project and a video demonstrating this bug?

outercloudstudio avatar Oct 31 '23 06:10 outercloudstudio