WolvenKit-7 icon indicating copy to clipboard operation
WolvenKit-7 copied to clipboard

WolvenKit 7 stuggles to compile custom classes

Open sabakhshi opened this issue 3 years ago • 2 comments

Describe the bug Loading a project with custom classes will often result in the following compilation shown in the screenshots. You have to open and close the project a ridiculous number of times(often 30+ times) for the classes to eventually compile.

To Reproduce Steps to reproduce the behavior:

  1. Open a project containing scripts with a custom class
  2. See error in output window
  3. Open another project that does not contain custom classes
  4. Repeat steps until the custom class compiles

Expected behavior Custom classes should compile the first time upon opening a project with them like in previous versions of WolvenKit.

Screenshots

image

Desktop (please complete the following information):

  • OS: Windows 10
  • Browser: Firefox
  • Version 10.0.19045.2251

Additional context I've reported this on discord before but with the next gen version coming up I thought it would be a good idea to document it here as well. Sorry if this is already planned to be addressed.

sabakhshi avatar Dec 06 '22 23:12 sabakhshi

I can see @rfuzzo name in log paths, so probably it's his fault 😄

nikich340 avatar Dec 07 '22 01:12 nikich340

This issue seems to be fixed in the latest stable build(7.2) as custom classes appear to compile reliably. However, it is no longer possible to add new chunks with customs classes to CR2W files. They do not appear in the dropdown to select a class when creating a new variable. Please see the example below. I have three new classes in the my project however they do not appear in the dropdown when adding a new list element as they did in previous versions. I know I brought this up on discord earlier but I just wanted to document it here as well. My apologies for the repeat request.

image

sabakhshi avatar Feb 13 '23 04:02 sabakhshi