GithubHelp home page GithubHelp logo

Comments (4)

yasirkula avatar yasirkula commented on July 20, 2024

Looks like it is a common issue that is not related to this plugin; google "unity field is never assigned to serializefield" and you'll see.

from unityingamedebugconsole.

zoeesilcock avatar zoeesilcock commented on July 20, 2024

It's a common issue because using private fields with [SerializeField] is a common way of encapsulating values so that they only can edited from the Unity Editor, not from code. It does appear that this warning isn't shown on all versions of Unity, but the warning is a valid complaint since as far as C# can see these fields are never touched by any code. So in short, yes it is related to this plugin and there are a few different workarounds that can be applied to this plugin to avoid the warnings.

I am seeing the warning on Unity 2018.3.0f2 if that helps in recreating the problem.

from unityingamedebugconsole.

RunninglVlan avatar RunninglVlan commented on July 20, 2024

I set default values for all SerializeFields which caused CS0649 warnings in #9. This doesn't break anything, the warnings just aren't shown anymore.

2 more warnings remain related to obsolete fields. Haven't touched them yet, but they can be fixed in 2 ways:
stringBuilder.Append( "Image Effects: " ).Append( SystemInfo.supportsImageEffects ? "supported\n" : "not supported\n" );
->
1: stringBuilder.Append( "Image Effects: supported\n" );
2: Just remove such lines

from unityingamedebugconsole.

yasirkula avatar yasirkula commented on July 20, 2024

Resolved in bb0e088

from unityingamedebugconsole.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.