C
C#2y ago
manfry

❔ help fixing syntax errors

Im editing a unity project and the editor cant compile the code, any help appreciated, text is too long to post here, so here the txt document link, https://drive.google.com/file/d/1t3jhXTtsukGZQo9WG6Zhmk6w1065_L5t/view?usp=drivesdk
Google Docs
Code.txt
13 Replies
Angius
Angius2y ago
I see your issue It seems to have been written by ChatGPT or something It will not produce cohesive code
manfry
manfryOP2y ago
Its a plugin on downloaded from unity
Angius
Angius2y ago
Or were you trying to use ChatGPT to find errors?
manfry
manfryOP2y ago
I tried fixing it with chat gpt
Angius
Angius2y ago
Unity assets don't usually expose code IIRC
manfry
manfryOP2y ago
I opened it in vscode in unity safe mode
Angius
Angius2y ago
You opened what, the plugin's source code?
manfry
manfryOP2y ago
Yes its cs file
Angius
Angius2y ago
Why?
manfry
manfryOP2y ago
Because it was compiling with errors
manfry
manfryOP2y ago
Angius
Angius2y ago
A plugin from the asset store came with compilation errors? Interesting Well, line 234 seems to have some extra ;s here and there https://pastie.io/xhxahp.cs#L234 All the issues seem to be coming from this line No idea what that line is even trying to do
Accord
Accord2y ago
Was this issue resolved? If so, run /close - otherwise I will mark this as stale and this post will be archived until there is new activity.
Want results from more Discord servers?
Add your server