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

Crash in release build when returning a string from a method #60

Open
SeleDreams opened this issue Mar 6, 2020 · 3 comments
Open

Crash in release build when returning a string from a method #60

SeleDreams opened this issue Mar 6, 2020 · 3 comments
Labels

Comments

@SeleDreams
Copy link

SeleDreams commented Mar 6, 2020

Hi, I am working on a project and I found a weird issue that only happens in release build

I have a a function that returns a string
image
(Member is a string member I use quickly for this example but basically it happened with all my code)
and it works in the editor, the string is properly returned and I can work with it, but when I test it in a standalone build, the game crashes immediatly when the function is called
this is the log it generated when crashing

error.log

@jacksondunstan
Copy link
Owner

It's hard to tell what's happening here from just the small snippet of code and the error.log file. What is Member? How is this function being called?

I noticed you're using Unity 2017.2. While it's not strictly required, you may also benefit from upgrading to a newer, supported version.

@SeleDreams
Copy link
Author

I think i'll make a small reproduction project to help you identify the issue.

I was using unity 2017 because I was creating a feature for a game under unity 2017.2.3

@SeleDreams
Copy link
Author

image
also if versions superior to 2017 are supported, it could be good to update the description

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants