© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
C#C
C#•2w ago•
47 replies
Pouncer012

C# Plugin for Rust Game; Error; Not Understanding

visual studiointermediate
So I have an error on a plugin I have created for the game Rust. No matter what I do to try and fix this issue, the test runs of compiling keep coming back to this error.

Error while compiling AutoPickupLoot: 'BaseEntity' does not contain a definition for 'inventory' and no accessible extension method 'inventory' accepting a first argument of type 'BaseEntity' could be found (are you missing a using directive or an assembly reference?) | Line: 552, Pos: 54

But everything I look up seems to be correct, but compiling says this is an issue. Anyone have thoughts by chance?
C# banner
C#Join
We are a programming server aimed at coders discussing everything related to C# (CSharp) and .NET.
61,871Members
Resources

Similar Threads

Was this page helpful?
Recent Announcements

Similar Threads

Rust Game Plugin Help Plz
C#CC# / help
8mo ago
Not understanding something with C#
C#CC# / help
9mo ago
embding C# for scripting in rust
C#CC# / help
3y ago
consolidating my understanding of `async`/`await` in C# and Rust
C#CC# / help
10mo ago