Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug]: Assets\Scripts\Assembly-CSharp\#####.cs(271,94): error CS0535: '#####._003C#####' does not implement interface member 'IDisposable.Dispose()' #1528

Closed
1392-github opened this issue Oct 18, 2024 · 7 comments
Labels
scripts Related to MonoScript or MonoBehaviour assets upstream This issue is caused by a bug in a dependency

Comments

@1392-github
Copy link

Are you on the latest version of AssetRipper?

Yes, I'm on the latest release of AssetRipper.

Which release are you using?

Windows x64

Which game did this occur on?

No response

Which Unity version did this occur on?

2021.3.22f1

Is the game Mono or IL2Cpp?

IL2Cpp

Describe the issue.

When opening the created project with Unity, the error message below is displayed and script loading fails.
[Bug]: Assets\Scripts\Assembly-CSharp#####.cs(271,94): error CS0535: '#####._003C#####' does not implement interface member 'IDisposable.Dispose()'

Relevant log output

No response

@1392-github 1392-github added the bug Something isn't working label Oct 18, 2024
Copy link

Thank you for submitting your first issue here. Please be sure you have uploaded your AssetRipper.log file. It is in the same folder as the exe file. :)

@ds5678
Copy link
Collaborator

ds5678 commented Oct 19, 2024

Script compilation errors are somewhat normal because ILSpy decompilation is imperfect.

@ds5678 ds5678 closed this as not planned Won't fix, can't repro, duplicate, stale Oct 19, 2024
@ds5678 ds5678 added upstream This issue is caused by a bug in a dependency scripts Related to MonoScript or MonoBehaviour assets and removed bug Something isn't working labels Oct 19, 2024
@1392-github
Copy link
Author

The problem is that even though a dummy script is created as an alternative, the dummy method that must be specified in the interface is not created.

@ds5678
Copy link
Collaborator

ds5678 commented Oct 19, 2024

Could be SamboyCoding/Cpp2IL#310

Either way, it's an upstream issue

@1392-github
Copy link
Author

1392-github commented Oct 19, 2024

The problem is that errors occurred in too many scripts and the properties in the inspector do not appear as shown above.
image

@1392-github
Copy link
Author

How do I make the inspector properties appear even if there are Unity script errors?

@ds5678
Copy link
Collaborator

ds5678 commented Oct 19, 2024

You can't

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
scripts Related to MonoScript or MonoBehaviour assets upstream This issue is caused by a bug in a dependency
Projects
None yet
Development

No branches or pull requests

2 participants