Jump to content

Compiler Error Latest Update

Not a Bug 1.5.92 1.5.92

BilboBaggyPants
BilboBaggyPants

Posted

Hello, I am getting a couple of compiler errors with the latest update.

 

```Error while compiling BetterTC: 'BuildingBlock' does not contain a definition for 'ShouldDisplayPickupOption' and no accessible extension method 'ShouldDisplayPickupOption' accepting a first argument of type 'BuildingBlock' could be found (are you missing a using directive or an assembly reference?) | Line: 2907, Pos: 66```

 

```Error while compiling BetterTC: Top-level statements must precede namespace and type declarations. | Line: 3382, Pos: 13```

ninco90

Posted

Do you have the server updated with today's update?

BilboBaggyPants

Posted

I believe so, I did a server update and restart before I added the new BetterTC file.

ninco90

Posted

Could you check this? With: version

 

and c.version (if you're using Carbon) or .version (if you're using Oxide)

BilboBaggyPants

Posted

Hey @ninco90

My server is current at

Build Date: 08/14/2025 15:22:58

Unity Version: 2022.3.41f1

Changeset: 128577

Branch: release

 

And Oxide

Oxide.Rust Version: 2.0.6550 Oxide.Rust Branch: master

BilboBaggyPants

Posted

Just did a server stop -> update -> restart and now I see this error popping up and BetterTC does not load.

```Error while compiling BetterTC: 'BuildingBlock' does not contain a definition for 'CanPickup' and no accessible extension method 'CanPickup' accepting a first argument of type 'BuildingBlock' could be found (are you missing a using directive or an assembly reference?) | Line: 2888, Pos: 66```

BilboBaggyPants

Posted

Ok did another stop/start and then re-uploaded the latest BetterTC version from Codefling and now it seems to work.

  • Like 1
ninco90

Posted

Changed Status from Pending to Not a Bug

Changed Fixed In to 1.5.92

1.9m

Downloads

Total number of downloads.

9.2k

Customers

Total customers served.

134.5k

Files Sold

Total number of files sold.

2.8m

Payments Processed

Total payments processed.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.