How can I fade player character when he goes inside or outside of the area? Planned maintenance scheduled April 17/18, 2019 at 00:00UTC (8:00pm US/Eastern) Announcing the arrival of Valued Associate #679: Cesar Manara Unicorn Meta Zoo #1: Why another podcast?Premultiplied Alpha And Alpha TestingHow can I create 2D shadows that let me detect when the player is inside them?Stencil based mask with alphaBlinking objectUnity Camera - Clamping when Zoom changes?Shader to see silhouette through alpha blended spritesHow can i keep the spawned cubes to be inside the given area?have humanoid animation effected by physicsPlayer area in navmesh?Dissolving fog of war when entering a room

Stars Make Stars

Is there a "higher Segal conjecture"?

Models of set theory where not every set can be linearly ordered

What is the musical term for a note that continously plays through a melody?

What would be the ideal power source for a cybernetic eye?

What is the longest distance a 13th-level monk can jump while attacking on the same turn?

What is a Meta algorithm?

Determinant is linear as a function of each of the rows of the matrix.

How to motivate offshore teams and trust them to deliver?

Is it ethical to give a final exam after the professor has quit before teaching the remaining chapters of the course?

Were Kohanim forbidden from serving in King David's army?

How can I make names more distinctive without making them longer?

Should I discuss the type of campaign with my players?

What are the motives behind Cersei's orders given to Bronn?

Letter Boxed validator

How does a Death Domain cleric's Touch of Death feature work with Touch-range spells delivered by familiars?

Why aren't air breathing engines used as small first stages

When to stop saving and start investing?

Why are there no cargo aircraft with "flying wing" design?

Withdrew £2800, but only £2000 shows as withdrawn on online banking; what are my obligations?

Disable hyphenation for an entire paragraph

"Seemed to had" is it correct?

Do you forfeit tax refunds/credits if you aren't required to and don't file by April 15?

What is the correct way to use the pinch test for dehydration?



How can I fade player character when he goes inside or outside of the area?



Planned maintenance scheduled April 17/18, 2019 at 00:00UTC (8:00pm US/Eastern)
Announcing the arrival of Valued Associate #679: Cesar Manara
Unicorn Meta Zoo #1: Why another podcast?Premultiplied Alpha And Alpha TestingHow can I create 2D shadows that let me detect when the player is inside them?Stencil based mask with alphaBlinking objectUnity Camera - Clamping when Zoom changes?Shader to see silhouette through alpha blended spritesHow can i keep the spawned cubes to be inside the given area?have humanoid animation effected by physicsPlayer area in navmesh?Dissolving fog of war when entering a room



.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty margin-bottom:0;








12












$begingroup$


I want to fade the player when he goes out of the area.



For example, suppose a person enters a building. When a person is outside of the building, he shouldn't be seen, but when he enters he gradually becomes visible (using fading effect).



when elephant is inside green area his alpha should be 1



photo_2019-04-15_07-21-39



when elephant is outside of green area his alpha should be 0



photo_2019-04-15_07-21-35










share|improve this question











$endgroup$


















    12












    $begingroup$


    I want to fade the player when he goes out of the area.



    For example, suppose a person enters a building. When a person is outside of the building, he shouldn't be seen, but when he enters he gradually becomes visible (using fading effect).



    when elephant is inside green area his alpha should be 1



    photo_2019-04-15_07-21-39



    when elephant is outside of green area his alpha should be 0



    photo_2019-04-15_07-21-35










    share|improve this question











    $endgroup$














      12












      12








      12


      4



      $begingroup$


      I want to fade the player when he goes out of the area.



      For example, suppose a person enters a building. When a person is outside of the building, he shouldn't be seen, but when he enters he gradually becomes visible (using fading effect).



      when elephant is inside green area his alpha should be 1



      photo_2019-04-15_07-21-39



      when elephant is outside of green area his alpha should be 0



      photo_2019-04-15_07-21-35










      share|improve this question











      $endgroup$




      I want to fade the player when he goes out of the area.



      For example, suppose a person enters a building. When a person is outside of the building, he shouldn't be seen, but when he enters he gradually becomes visible (using fading effect).



      when elephant is inside green area his alpha should be 1



      photo_2019-04-15_07-21-39



      when elephant is outside of green area his alpha should be 0



      photo_2019-04-15_07-21-35







      unity shaders






      share|improve this question















      share|improve this question













      share|improve this question




      share|improve this question








      edited 45 mins ago









      Kromster

      8,75844059




      8,75844059










      asked yesterday









      Seyed Morteza KamaliSeyed Morteza Kamali

      5,32482459




      5,32482459




















          1 Answer
          1






          active

          oldest

          votes


















          24












          $begingroup$

          You can use world space to fade your character.




          The object space (or object coordinate system) is specific to each
          game object; however, all game objects are transformed into one common
          coordinate system — the world space.



          If a game object is put directly into the world space, the
          object-to-world transformation is specified by the Transform component
          of the game object.



          https://en.wikibooks.org/wiki/Cg_Programming/Unity/Shading_in_World_Space




          Fading by world space



          Record_2019_04_15_07_13_25_154



          Shader "Smkgames/worldSpaceFade" 
          Properties
          _Size("Size",Vector) = (2,2,0,0)

          SubShader
          Pass
          CGPROGRAM

          #pragma vertex vert
          #pragma fragment frag


          struct vertexInput
          float4 vertex : POSITION;
          ;
          struct vertexOutput
          float4 pos : SV_POSITION;
          float4 position_in_world_space : TEXCOORD0;
          ;

          vertexOutput vert(vertexInput input)

          vertexOutput output;

          output.pos = UnityObjectToClipPos(input.vertex);
          output.position_in_world_space =
          mul(unity_ObjectToWorld, input.vertex);

          return output;

          float2 _Size;

          float4 frag(vertexOutput input) : COLOR

          float3 world = input.position_in_world_space;

          float4 equation = pow(world.x/_Size.x,8) + pow(world.z/_Size.y,8);
          return smoothstep(1,0,equation);


          ENDCG





          Surface Shader



          After understanding world space we can use it in our surface shader:



          Record_2019_04_15_07_14_24_876



          Shader "Smkgames/worldSpaceFade" 
          Properties
          _Size("Size",Vector) = (2,2,0,0)
          _Color ("Color", Color) = (1,1,1,1)
          _MainTex ("Albedo (RGB)", 2D) = "white"
          _Glossiness ("Smoothness", Range(0,1)) = 0.5
          _Metallic ("Metallic", Range(0,1)) = 0.0

          SubShader
          Tags "Queue"="Transparent" "IgnoreProjector"="True" "RenderType"="Transparent"
          Pass
          ZWrite On
          ColorMask 0

          LOD 200

          CGPROGRAM
          #pragma surface surf Standard fullforwardshadows alpha:fade

          #pragma target 3.0

          sampler2D _MainTex;

          struct Input
          float2 uv_MainTex;
          float3 worldPos: TEXCOORD2;
          ;

          half _Glossiness;
          half _Metallic;
          fixed4 _Color;
          float2 _Size;

          void vert (inout appdata_full v, out Input o)
          UNITY_INITIALIZE_OUTPUT(Input,o);
          o.worldPos = mul(unity_ObjectToWorld, v.vertex);



          UNITY_INSTANCING_BUFFER_START(Props)
          UNITY_INSTANCING_BUFFER_END(Props)

          void surf (Input IN, inout SurfaceOutputStandard o)
          fixed4 c = tex2D (_MainTex, IN.uv_MainTex) * _Color;
          float4 equation = pow(IN.worldPos.x/_Size.x,8) + pow(IN.worldPos.z/_Size.y,8);
          o.Albedo = c.rgb;
          o.Metallic = _Metallic;
          o.Smoothness = _Glossiness;
          o.Alpha = smoothstep(1,0,equation);

          ENDCG

          FallBack "Diffuse"






          share|improve this answer











          $endgroup$













            Your Answer






            StackExchange.ifUsing("editor", function ()
            StackExchange.using("externalEditor", function ()
            StackExchange.using("snippets", function ()
            StackExchange.snippets.init();
            );
            );
            , "code-snippets");

            StackExchange.ready(function()
            var channelOptions =
            tags: "".split(" "),
            id: "53"
            ;
            initTagRenderer("".split(" "), "".split(" "), channelOptions);

            StackExchange.using("externalEditor", function()
            // Have to fire editor after snippets, if snippets enabled
            if (StackExchange.settings.snippets.snippetsEnabled)
            StackExchange.using("snippets", function()
            createEditor();
            );

            else
            createEditor();

            );

            function createEditor()
            StackExchange.prepareEditor(
            heartbeatType: 'answer',
            autoActivateHeartbeat: false,
            convertImagesToLinks: false,
            noModals: true,
            showLowRepImageUploadWarning: true,
            reputationToPostImages: null,
            bindNavPrevention: true,
            postfix: "",
            imageUploader:
            brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
            contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
            allowUrls: true
            ,
            onDemand: true,
            discardSelector: ".discard-answer"
            ,immediatelyShowMarkdownHelp:true
            );



            );













            draft saved

            draft discarded


















            StackExchange.ready(
            function ()
            StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fgamedev.stackexchange.com%2fquestions%2f170041%2fhow-can-i-fade-player-character-when-he-goes-inside-or-outside-of-the-area%23new-answer', 'question_page');

            );

            Post as a guest















            Required, but never shown

























            1 Answer
            1






            active

            oldest

            votes








            1 Answer
            1






            active

            oldest

            votes









            active

            oldest

            votes






            active

            oldest

            votes









            24












            $begingroup$

            You can use world space to fade your character.




            The object space (or object coordinate system) is specific to each
            game object; however, all game objects are transformed into one common
            coordinate system — the world space.



            If a game object is put directly into the world space, the
            object-to-world transformation is specified by the Transform component
            of the game object.



            https://en.wikibooks.org/wiki/Cg_Programming/Unity/Shading_in_World_Space




            Fading by world space



            Record_2019_04_15_07_13_25_154



            Shader "Smkgames/worldSpaceFade" 
            Properties
            _Size("Size",Vector) = (2,2,0,0)

            SubShader
            Pass
            CGPROGRAM

            #pragma vertex vert
            #pragma fragment frag


            struct vertexInput
            float4 vertex : POSITION;
            ;
            struct vertexOutput
            float4 pos : SV_POSITION;
            float4 position_in_world_space : TEXCOORD0;
            ;

            vertexOutput vert(vertexInput input)

            vertexOutput output;

            output.pos = UnityObjectToClipPos(input.vertex);
            output.position_in_world_space =
            mul(unity_ObjectToWorld, input.vertex);

            return output;

            float2 _Size;

            float4 frag(vertexOutput input) : COLOR

            float3 world = input.position_in_world_space;

            float4 equation = pow(world.x/_Size.x,8) + pow(world.z/_Size.y,8);
            return smoothstep(1,0,equation);


            ENDCG





            Surface Shader



            After understanding world space we can use it in our surface shader:



            Record_2019_04_15_07_14_24_876



            Shader "Smkgames/worldSpaceFade" 
            Properties
            _Size("Size",Vector) = (2,2,0,0)
            _Color ("Color", Color) = (1,1,1,1)
            _MainTex ("Albedo (RGB)", 2D) = "white"
            _Glossiness ("Smoothness", Range(0,1)) = 0.5
            _Metallic ("Metallic", Range(0,1)) = 0.0

            SubShader
            Tags "Queue"="Transparent" "IgnoreProjector"="True" "RenderType"="Transparent"
            Pass
            ZWrite On
            ColorMask 0

            LOD 200

            CGPROGRAM
            #pragma surface surf Standard fullforwardshadows alpha:fade

            #pragma target 3.0

            sampler2D _MainTex;

            struct Input
            float2 uv_MainTex;
            float3 worldPos: TEXCOORD2;
            ;

            half _Glossiness;
            half _Metallic;
            fixed4 _Color;
            float2 _Size;

            void vert (inout appdata_full v, out Input o)
            UNITY_INITIALIZE_OUTPUT(Input,o);
            o.worldPos = mul(unity_ObjectToWorld, v.vertex);



            UNITY_INSTANCING_BUFFER_START(Props)
            UNITY_INSTANCING_BUFFER_END(Props)

            void surf (Input IN, inout SurfaceOutputStandard o)
            fixed4 c = tex2D (_MainTex, IN.uv_MainTex) * _Color;
            float4 equation = pow(IN.worldPos.x/_Size.x,8) + pow(IN.worldPos.z/_Size.y,8);
            o.Albedo = c.rgb;
            o.Metallic = _Metallic;
            o.Smoothness = _Glossiness;
            o.Alpha = smoothstep(1,0,equation);

            ENDCG

            FallBack "Diffuse"






            share|improve this answer











            $endgroup$

















              24












              $begingroup$

              You can use world space to fade your character.




              The object space (or object coordinate system) is specific to each
              game object; however, all game objects are transformed into one common
              coordinate system — the world space.



              If a game object is put directly into the world space, the
              object-to-world transformation is specified by the Transform component
              of the game object.



              https://en.wikibooks.org/wiki/Cg_Programming/Unity/Shading_in_World_Space




              Fading by world space



              Record_2019_04_15_07_13_25_154



              Shader "Smkgames/worldSpaceFade" 
              Properties
              _Size("Size",Vector) = (2,2,0,0)

              SubShader
              Pass
              CGPROGRAM

              #pragma vertex vert
              #pragma fragment frag


              struct vertexInput
              float4 vertex : POSITION;
              ;
              struct vertexOutput
              float4 pos : SV_POSITION;
              float4 position_in_world_space : TEXCOORD0;
              ;

              vertexOutput vert(vertexInput input)

              vertexOutput output;

              output.pos = UnityObjectToClipPos(input.vertex);
              output.position_in_world_space =
              mul(unity_ObjectToWorld, input.vertex);

              return output;

              float2 _Size;

              float4 frag(vertexOutput input) : COLOR

              float3 world = input.position_in_world_space;

              float4 equation = pow(world.x/_Size.x,8) + pow(world.z/_Size.y,8);
              return smoothstep(1,0,equation);


              ENDCG





              Surface Shader



              After understanding world space we can use it in our surface shader:



              Record_2019_04_15_07_14_24_876



              Shader "Smkgames/worldSpaceFade" 
              Properties
              _Size("Size",Vector) = (2,2,0,0)
              _Color ("Color", Color) = (1,1,1,1)
              _MainTex ("Albedo (RGB)", 2D) = "white"
              _Glossiness ("Smoothness", Range(0,1)) = 0.5
              _Metallic ("Metallic", Range(0,1)) = 0.0

              SubShader
              Tags "Queue"="Transparent" "IgnoreProjector"="True" "RenderType"="Transparent"
              Pass
              ZWrite On
              ColorMask 0

              LOD 200

              CGPROGRAM
              #pragma surface surf Standard fullforwardshadows alpha:fade

              #pragma target 3.0

              sampler2D _MainTex;

              struct Input
              float2 uv_MainTex;
              float3 worldPos: TEXCOORD2;
              ;

              half _Glossiness;
              half _Metallic;
              fixed4 _Color;
              float2 _Size;

              void vert (inout appdata_full v, out Input o)
              UNITY_INITIALIZE_OUTPUT(Input,o);
              o.worldPos = mul(unity_ObjectToWorld, v.vertex);



              UNITY_INSTANCING_BUFFER_START(Props)
              UNITY_INSTANCING_BUFFER_END(Props)

              void surf (Input IN, inout SurfaceOutputStandard o)
              fixed4 c = tex2D (_MainTex, IN.uv_MainTex) * _Color;
              float4 equation = pow(IN.worldPos.x/_Size.x,8) + pow(IN.worldPos.z/_Size.y,8);
              o.Albedo = c.rgb;
              o.Metallic = _Metallic;
              o.Smoothness = _Glossiness;
              o.Alpha = smoothstep(1,0,equation);

              ENDCG

              FallBack "Diffuse"






              share|improve this answer











              $endgroup$















                24












                24








                24





                $begingroup$

                You can use world space to fade your character.




                The object space (or object coordinate system) is specific to each
                game object; however, all game objects are transformed into one common
                coordinate system — the world space.



                If a game object is put directly into the world space, the
                object-to-world transformation is specified by the Transform component
                of the game object.



                https://en.wikibooks.org/wiki/Cg_Programming/Unity/Shading_in_World_Space




                Fading by world space



                Record_2019_04_15_07_13_25_154



                Shader "Smkgames/worldSpaceFade" 
                Properties
                _Size("Size",Vector) = (2,2,0,0)

                SubShader
                Pass
                CGPROGRAM

                #pragma vertex vert
                #pragma fragment frag


                struct vertexInput
                float4 vertex : POSITION;
                ;
                struct vertexOutput
                float4 pos : SV_POSITION;
                float4 position_in_world_space : TEXCOORD0;
                ;

                vertexOutput vert(vertexInput input)

                vertexOutput output;

                output.pos = UnityObjectToClipPos(input.vertex);
                output.position_in_world_space =
                mul(unity_ObjectToWorld, input.vertex);

                return output;

                float2 _Size;

                float4 frag(vertexOutput input) : COLOR

                float3 world = input.position_in_world_space;

                float4 equation = pow(world.x/_Size.x,8) + pow(world.z/_Size.y,8);
                return smoothstep(1,0,equation);


                ENDCG





                Surface Shader



                After understanding world space we can use it in our surface shader:



                Record_2019_04_15_07_14_24_876



                Shader "Smkgames/worldSpaceFade" 
                Properties
                _Size("Size",Vector) = (2,2,0,0)
                _Color ("Color", Color) = (1,1,1,1)
                _MainTex ("Albedo (RGB)", 2D) = "white"
                _Glossiness ("Smoothness", Range(0,1)) = 0.5
                _Metallic ("Metallic", Range(0,1)) = 0.0

                SubShader
                Tags "Queue"="Transparent" "IgnoreProjector"="True" "RenderType"="Transparent"
                Pass
                ZWrite On
                ColorMask 0

                LOD 200

                CGPROGRAM
                #pragma surface surf Standard fullforwardshadows alpha:fade

                #pragma target 3.0

                sampler2D _MainTex;

                struct Input
                float2 uv_MainTex;
                float3 worldPos: TEXCOORD2;
                ;

                half _Glossiness;
                half _Metallic;
                fixed4 _Color;
                float2 _Size;

                void vert (inout appdata_full v, out Input o)
                UNITY_INITIALIZE_OUTPUT(Input,o);
                o.worldPos = mul(unity_ObjectToWorld, v.vertex);



                UNITY_INSTANCING_BUFFER_START(Props)
                UNITY_INSTANCING_BUFFER_END(Props)

                void surf (Input IN, inout SurfaceOutputStandard o)
                fixed4 c = tex2D (_MainTex, IN.uv_MainTex) * _Color;
                float4 equation = pow(IN.worldPos.x/_Size.x,8) + pow(IN.worldPos.z/_Size.y,8);
                o.Albedo = c.rgb;
                o.Metallic = _Metallic;
                o.Smoothness = _Glossiness;
                o.Alpha = smoothstep(1,0,equation);

                ENDCG

                FallBack "Diffuse"






                share|improve this answer











                $endgroup$



                You can use world space to fade your character.




                The object space (or object coordinate system) is specific to each
                game object; however, all game objects are transformed into one common
                coordinate system — the world space.



                If a game object is put directly into the world space, the
                object-to-world transformation is specified by the Transform component
                of the game object.



                https://en.wikibooks.org/wiki/Cg_Programming/Unity/Shading_in_World_Space




                Fading by world space



                Record_2019_04_15_07_13_25_154



                Shader "Smkgames/worldSpaceFade" 
                Properties
                _Size("Size",Vector) = (2,2,0,0)

                SubShader
                Pass
                CGPROGRAM

                #pragma vertex vert
                #pragma fragment frag


                struct vertexInput
                float4 vertex : POSITION;
                ;
                struct vertexOutput
                float4 pos : SV_POSITION;
                float4 position_in_world_space : TEXCOORD0;
                ;

                vertexOutput vert(vertexInput input)

                vertexOutput output;

                output.pos = UnityObjectToClipPos(input.vertex);
                output.position_in_world_space =
                mul(unity_ObjectToWorld, input.vertex);

                return output;

                float2 _Size;

                float4 frag(vertexOutput input) : COLOR

                float3 world = input.position_in_world_space;

                float4 equation = pow(world.x/_Size.x,8) + pow(world.z/_Size.y,8);
                return smoothstep(1,0,equation);


                ENDCG





                Surface Shader



                After understanding world space we can use it in our surface shader:



                Record_2019_04_15_07_14_24_876



                Shader "Smkgames/worldSpaceFade" 
                Properties
                _Size("Size",Vector) = (2,2,0,0)
                _Color ("Color", Color) = (1,1,1,1)
                _MainTex ("Albedo (RGB)", 2D) = "white"
                _Glossiness ("Smoothness", Range(0,1)) = 0.5
                _Metallic ("Metallic", Range(0,1)) = 0.0

                SubShader
                Tags "Queue"="Transparent" "IgnoreProjector"="True" "RenderType"="Transparent"
                Pass
                ZWrite On
                ColorMask 0

                LOD 200

                CGPROGRAM
                #pragma surface surf Standard fullforwardshadows alpha:fade

                #pragma target 3.0

                sampler2D _MainTex;

                struct Input
                float2 uv_MainTex;
                float3 worldPos: TEXCOORD2;
                ;

                half _Glossiness;
                half _Metallic;
                fixed4 _Color;
                float2 _Size;

                void vert (inout appdata_full v, out Input o)
                UNITY_INITIALIZE_OUTPUT(Input,o);
                o.worldPos = mul(unity_ObjectToWorld, v.vertex);



                UNITY_INSTANCING_BUFFER_START(Props)
                UNITY_INSTANCING_BUFFER_END(Props)

                void surf (Input IN, inout SurfaceOutputStandard o)
                fixed4 c = tex2D (_MainTex, IN.uv_MainTex) * _Color;
                float4 equation = pow(IN.worldPos.x/_Size.x,8) + pow(IN.worldPos.z/_Size.y,8);
                o.Albedo = c.rgb;
                o.Metallic = _Metallic;
                o.Smoothness = _Glossiness;
                o.Alpha = smoothstep(1,0,equation);

                ENDCG

                FallBack "Diffuse"







                share|improve this answer














                share|improve this answer



                share|improve this answer








                edited 47 mins ago









                Kromster

                8,75844059




                8,75844059










                answered yesterday









                Seyed Morteza KamaliSeyed Morteza Kamali

                5,32482459




                5,32482459



























                    draft saved

                    draft discarded
















































                    Thanks for contributing an answer to Game Development Stack Exchange!


                    • Please be sure to answer the question. Provide details and share your research!

                    But avoid


                    • Asking for help, clarification, or responding to other answers.

                    • Making statements based on opinion; back them up with references or personal experience.

                    Use MathJax to format equations. MathJax reference.


                    To learn more, see our tips on writing great answers.




                    draft saved


                    draft discarded














                    StackExchange.ready(
                    function ()
                    StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fgamedev.stackexchange.com%2fquestions%2f170041%2fhow-can-i-fade-player-character-when-he-goes-inside-or-outside-of-the-area%23new-answer', 'question_page');

                    );

                    Post as a guest















                    Required, but never shown





















































                    Required, but never shown














                    Required, but never shown












                    Required, but never shown







                    Required, but never shown

































                    Required, but never shown














                    Required, but never shown












                    Required, but never shown







                    Required, but never shown







                    Popular posts from this blog

                    ValueError: Error when checking input: expected conv2d_13_input to have shape (3, 150, 150) but got array with shape (150, 150, 3)2019 Community Moderator ElectionError when checking : expected dense_1_input to have shape (None, 5) but got array with shape (200, 1)Error 'Expected 2D array, got 1D array instead:'ValueError: Error when checking input: expected lstm_41_input to have 3 dimensions, but got array with shape (40000,100)ValueError: Error when checking target: expected dense_1 to have shape (7,) but got array with shape (1,)ValueError: Error when checking target: expected dense_2 to have shape (1,) but got array with shape (0,)Keras exception: ValueError: Error when checking input: expected conv2d_1_input to have shape (150, 150, 3) but got array with shape (256, 256, 3)Steps taking too long to completewhen checking input: expected dense_1_input to have shape (13328,) but got array with shape (317,)ValueError: Error when checking target: expected dense_3 to have shape (None, 1) but got array with shape (7715, 40000)Keras exception: Error when checking input: expected dense_input to have shape (2,) but got array with shape (1,)

                    Ружовы пелікан Змест Знешні выгляд | Пашырэнне | Асаблівасці біялогіі | Літаратура | НавігацыяДагледжаная версіяправерана1 зменаДагледжаная версіяправерана1 змена/ 22697590 Сістэматыкана ВіківідахВыявына Вікісховішчы174693363011049382

                    Illegal assignment from SObject to ContactFetching String, Id from Map - Illegal Assignment Id to Field / ObjectError: Compile Error: Illegal assignment from String to BooleanError: List has no rows for assignment to SObjectError on Test Class - System.QueryException: List has no rows for assignment to SObjectRemote action problemDML requires SObject or SObject list type error“Illegal assignment from List to List”Test Class Fail: Batch Class: System.QueryException: List has no rows for assignment to SObjectMapping to a user'List has no rows for assignment to SObject' Mystery