Kingdoms and Castles

Kingdoms and Castles

New Houses
MGTX[ETH] 2023 年 8 月 24 日 下午 3:58
Error on MacOS - Compilation Failed
/Library/Application Support/Steam/steamapps/common/Kingdoms and Castles/Kingdoms and Castles.app/Contents/mods/569480/2932055120/ModMain.cs:806::806
Argument 2: cannot convert from 'BuildTab' to 'BuildTabVR'</color>
2023-08-24T18:53:26:Compilation failed with security exceptions.
< >
正在显示第 1 - 15 条,共 20 条留言
Rakceyen  [开发者] 2023 年 8 月 24 日 下午 4:34 
Hm, okay. I'll take a look at that.

Thanks for notifying me :3
MGTX[ETH] 2023 年 8 月 24 日 下午 8:04 
No problem, let me know if you need testing, thanks!
Rakceyen  [开发者] 2023 年 8 月 27 日 下午 1:27 
引用自 MGTXETH
No problem, let me know if you need testing, thanks!

Are you using any other mods? Were you running in VR? And what version of the game are you running?
MGTX[ETH] 2023 年 8 月 27 日 下午 1:36 
Latest version though steam, not VR, tried without any other mods on a fresh install. Unsure of why it has a reference for VR.
Rakceyen  [开发者] 2023 年 8 月 27 日 下午 8:19 
引用自 MGTXETH
Latest version though steam, not VR, tried without any other mods on a fresh install. Unsure of why it has a reference for VR.

Well, the way that it works is it creates the build menu for normal, VR, and console in the same line of code. It specifically has a BuildTab, BuildTabVR, and BuildTabConsole. What's got me so confused is when calling the AddBuilding method (which creates the build menu), it asks for a BuildTab, BuildTab, and BuildTabConsole. It doesn't look for any BuildTabVR. Yet on Mac it's complaining that there isn't a BuildTabVR.

Also it's the same code on Windows, and that error doesn't get thrown.

So I too don't know why that error is getting thrown. I'm going to keep digging into the program to see if anything stands out to me.
macmorri 2023 年 10 月 30 日 上午 11:19 
Error message is little longer - let me copy all the stuff leading to failed compilation:

2023-10-30T19:05:43:Loading mod at path: /Users/macmorri/Library/Application Support/Steam/steamapps/workshop/content/569480/2932055120
2023-10-30T19:05:43:<color=yellow>/Users/macmorri/Library/Application Support/Steam/steamapps/workshop/content/569480/2932055120/ModMain.cs:64::64
The variable 'e' is declared but never used</color>
2023-10-30T19:05:43:<color=red>/Users/macmorri/Library/Application Support/Steam/steamapps/workshop/content/569480/2932055120/ModMain.cs:794::794
Argument 2: cannot convert from 'BuildTab' to 'BuildTabVR'</color>
2023-10-30T19:05:43:<color=red>/Users/macmorri/Library/Application Support/Steam/steamapps/workshop/content/569480/2932055120/ModMain.cs:796::796
Argument 2: cannot convert from 'BuildTab' to 'BuildTabVR'</color>
2023-10-30T19:05:43:<color=red>/Users/macmorri/Library/Application Support/Steam/steamapps/workshop/content/569480/2932055120/ModMain.cs:798::798
Argument 2: cannot convert from 'BuildTab' to 'BuildTabVR'</color>
2023-10-30T19:05:43:<color=red>/Users/macmorri/Library/Application Support/Steam/steamapps/workshop/content/569480/2932055120/ModMain.cs:800::800
Argument 2: cannot convert from 'BuildTab' to 'BuildTabVR'</color>
2023-10-30T19:05:43:<color=red>/Users/macmorri/Library/Application Support/Steam/steamapps/workshop/content/569480/2932055120/ModMain.cs:802::802
Argument 2: cannot convert from 'BuildTab' to 'BuildTabVR'</color>
2023-10-30T19:05:43:<color=red>/Users/macmorri/Library/Application Support/Steam/steamapps/workshop/content/569480/2932055120/ModMain.cs:804::804
Argument 2: cannot convert from 'BuildTab' to 'BuildTabVR'</color>
2023-10-30T19:05:43:<color=red>/Users/macmorri/Library/Application Support/Steam/steamapps/workshop/content/569480/2932055120/ModMain.cs:806::806
Argument 2: cannot convert from 'BuildTab' to 'BuildTabVR'</color>
2023-10-30T19:05:43:Compilation failed with security exceptions.
Rakceyen  [开发者] 2024 年 1 月 10 日 下午 8:22 
Yeah, it looks like the script keeps breaking at the same point for each house. There's 7 BuildTab errors and 7 houses.

I keep poking at the code to see what I can find, but I haven't found an answer yet.
erfolgsdiplomat0 2024 年 3 月 12 日 上午 10:56 
tried to run this on mac aswell, but it doesn't even load ingame and keeps asking me to restart the game.
FranFran 2024 年 5 月 9 日 上午 9:14 
Also keeps asking me to restart the game on mac.
RSmith19902008 2024 年 5 月 12 日 上午 9:36 
I have received no error messages for this mod, it just simply doesn't exist in game. There is no trace of it anywhere in game. On a 2023 Macbook Pro if that matters.
最后由 RSmith19902008 编辑于; 2024 年 5 月 12 日 上午 9:36
Rakceyen  [开发者] 2024 年 5 月 26 日 下午 6:46 
Yeah, it seems Macs in general do not like this mod.

I did talk to one of the devs. They might look into it, as there are a few mods that have the same problem.
Angelic 2024 年 6 月 11 日 上午 11:46 
I have te same problem
ViperVonVape 2024 年 8 月 9 日 下午 8:43 
Has any news come forward on a fix for the mod for OS devices? I am still having issues with the mod not being installed.
leonpoi 2024 年 8 月 22 日 下午 10:21 
I would also love a fix for mac - this mod looks great
atwgoodman 2024 年 11 月 23 日 下午 4:57 
No bueno on Mac :steamsad:
< >
正在显示第 1 - 15 条,共 20 条留言
每页显示数: 1530 50