Hey Guys i really need ur help my unity compiles for xbox!

hey guys

i think the title says all:

my unity compiles various shaders for xbox and i get errors like:

Shader error in ‘Cumulus Illumination Shader’: Program ‘vert’, Microcode Compiler possible use of uninitialized variable ‘o’ (compiling for xbox360) at line 104

or

Shader error in ‘Moon Shader’: Program ‘vert’, Microcode Compiler possible use of uninitialized variable ‘o’ (compiling for xbox360) at line 40

what am i doin wrong?

File-> Build Settings. Make sure you have the correct platform selected and click ‘switch platform’ to ensure the proper version is set in Unity.

And don’t forget: Your NDA does not allow you to talk about x360 development in a public place at all

u all dont understand me xD

It wouldnt be that strange if i had xbox as platform selected…

But i dont have!

And dremora:

U know me a bit now…?

Im a 15 years old boy…

Where the hell should i get the money for a unity xbox version from?
And i am not able to work for a company at all cause im not 16.

Now back to my problem :smile:

Why does unity compile for xbox when i have pc selected?

I use 3.1
soon ill switch (next weekend) …

Unity should not be compiling for Xbox 360 in any publicly available build.

Are you using an Xbox 360 version of Unity? Or somehow have horribly cracked Unity itself?

If he is 15 years old and cracked unity so it can deliver xbox360 shaders, I would contact him and try to hire him ASAP, Aras.

My main question is: how do you know you are compiling for xbox360? As far as I know the only publishing option you would have to test this, aside from XDK ,is XBLIG/XBLA, which is not compatible with Unity.

Cheers

And especially since even the cracked versions shouldn’t do that. They just unlock normal Pro/mobile options. I always thought the console build options required a completely different build of the editor.

Hold the phone…am I reading this right, is the xbox360 publisher been release, or am I reading something wrong here.

Looks like what’s going on is that he’s compiling for PC, but is receiving an error message that mentions XBox 360.
My guess is that somehow some Xbox Unity code fragments got into his environment and are messing things up.

Right, now I understand.

@Robbilie

You’re using UniSky shaders. Get rid of that, or, upgrade to 3.2, it’s working fine there. Maybe you should test this within a new project in 3.2 first.

I want to say something here, I’m having the same issue, for example I worked before with the Strumpy Shader Editor and skydome packages, when I used Unity 3.0 and 3.1 they both work just fine, I imported them in a new blank project and worked fine, but last week I upgrade to 3.2 and now 3.3, and this problem with my shaders apperar, and example of the messages ares these…

Shader error in ‘ShaderEditor/EditorShaderCache’: Program ‘frag_surf’, incorrect number of arguments to numeric-type constructor (compiling for xbox360) at line 111

Shader error in ‘ShaderEditor/EditorShaderCache’: Program ‘vert_surf’, incorrect number of arguments to numeric-type constructor (compiling for xbox360) at line 111

I wrote to the forums of the creators of these two packages, but anybody could understand that I’m not trying to compile for xbox, I not new, so please not even ask if I have a licence to develop for xbox, I already check the player option, I’m using win 7 x64, unity 3.3 last version and Nvidia 480gtx with latest drivers, player settings for Mac and PC standalone, and deferred rendering path, now for the firts time I found someone with the same problems as me, what could be wrong with my unity editor…? I assume that is trying to compile the shaders for xbox because of the error message, but I havent found anything in the editor to change this, I’m getting this kind of error with many examples test projects I had done with shaders, but I reinstall Unity 3.0 and they worked correctly, I think is something about Unity 3.2 and 3.3.

Note: I already test all the packages that are generating this messages in a clean new project in Unity 3.3, but nothing keep showing the same errors and is with many shaders that I have, not only the two examples above. When I reinstall Unity 3.0 once again I import each packages and they work just fine.

Well if anyone have this same problem, please let us know…

I just upgraded from Unity 3.2 to 3.3 and a custom shader I had been playing around with is now generating the same “incorrect number of arguments to numeric-type constructor (compiling for xbox360)” error message. Previously assigned surfaces (which were working in 3.2) now render pink in the editor. As a test, I tried swapping in code from the Surface Shader Lighting Examples…and, no matter which I try, the shaders still refuse to compile.

Like you, I am not at all targeting Xbox360. I’ve tried setting my build settings to Android, Web, and PC, but the problem persists with any custom shader I try to build. I’ve also tried uninstalling and reinstalling Unity 3.3.

Was there any resolution to this problem?

Probably best to submit your projects to unity and file a bug report so they can fix any niggly issues before 3.4 :slight_smile:

I recently spotted you can use an editor script to compile to xbox (and everything else), but it’s probably only if you have the license.
EDIT: Ah, here it is:

BuildTarget.XBOX360

And the doc link:
http://unity3d.com/support/documentation/ScriptReference/BuildTarget.XBOX360.html

hey guys

Just wanted to tell u that a friend of mine modified something on my unity version, maybe he tried to crack it, not sure and he didnt want to tell me bht anyways, all furthere releases, currently 3.3 are working without this error…

To muzz comment, has anyone tried to use this method or can try now? Cause im not able to go on unity atm…

Pls post ur results :smile:

Greetz
Robert

no, it doesn’t work.
it will only work for the target you can distribute, so no PS3 or Xbox for free (and if you don’t have Android or iOS you can only distribute for Windows, Mac and Webplayer)

Thought so. Unity wouldn’t be that lax.

I’m not suprised he has a friend who “maybe he tried to crack it, not sure and he didnt want to tell me bht anyways”. Why’s is it not suprising? Because I know by how 90% of the MMORPGONMPRGWOWKILLERIRTEHWOWSER kiddie coropration posts that the 90% of the MMORPGONMPRGWOWKILLERIRTEHWOWSER Kiddie Corporation have torrented, rapidshared their unity crack/patch. How again is this post making sense? Simple! I’m speaking liek them.

You only have to look at the dynamics of the language they use in their posts to know that they are pirating Unity. When you get a reply that includes similar to this “maybe he tried to crack it, not sure and he didnt want to tell me bht anyways”, you know they know exactly what they are doing.

Good news for all though, there is an ignore button available on the forum and this dude just made himself the 938th MMORPGONMPRGWOWKILLERIRTEHWOWSER-I-Didnoted-Pirated-Unityiededed, to be added to my perma ignore list.

Being 15 and having no money does not absolve you and somehow give you a license to steal what you want and think you can then have the nerve to post on the official forum for help when you can’t get your theivery working.

bye and ignored!

Oh man…

You know, there are some things i want to tell you:

First, i am not writing this way and i havent seen many people on the forum writing this way, anyways its even hard to understand what you are writing there…

Second, do you really think im that stupid to post on unity forum that i have a cracked version?

Let me give you some reasons why not :wink:

First: i have enough friends with legal unity licenses so i would not need a cracked version.
Second: if i would lie to get one, i would buy myself one, what i think im going to do this summer.
Third: i know, ut has its possibilities to find out, wether a build is made with an illegal version of unity…
Fourth: im not sure but most cracks just change some lines of code and they take effect to the licensing, nobody goes through the whole code so i think, if i had a cracked version after the upgrade the bug should be there, but it isnt so…

I didnt found more than those four reasons in the last 5 mins i have so…

Some times (quite often in the past) i feel like younger devs are degraded here on the forum by olders who are not accepting that youngers may also be good in gd or what else reasos they have…

Anyways, just to tell you UT guys, i think you have a new pro customer :stuck_out_tongue:

Greetz
Robert