Post Reply 
 
Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Non unity-pro related errors
01-30-2016, 08:26 AM
Post: #1
Non unity-pro related errors
Hi!
After loading up SCP in an empty project and trying to launch the example scene these are the errors I get:
https://a.pomf.cat/vcgllb.png
They seem to be related to the "#if UNITY_PRO_LICENSE" parts, because when I delete those parts it seems to run.


Attached File(s) Thumbnail(s)
   
Find all posts by this user
Quote this message in a reply
01-31-2016, 12:32 AM
Post: #2
RE: Non unity-pro related errors
(01-30-2016 08:26 AM)William Wrote:  Hi!
After loading up SCP in an empty project and trying to launch the example scene these are the errors I get:
https://a.pomf.cat/vcgllb.png
They seem to be related to the "#if UNITY_PRO_LICENSE" parts, because when I delete those parts it seems to run.

I'm looking into it right now.

If you try to use the scripts in your own scene, do you still see any issues / errors?

Pain is indeed a flavour, so pour on that hot sauce!
Visit this user's website Find all posts by this user
Quote this message in a reply
01-31-2016, 01:05 AM
Post: #3
RE: Non unity-pro related errors
(01-30-2016 08:26 AM)William Wrote:  Hi!
After loading up SCP in an empty project and trying to launch the example scene these are the errors I get:
https://a.pomf.cat/vcgllb.png
They seem to be related to the "#if UNITY_PRO_LICENSE" parts, because when I delete those parts it seems to run.

You won't believe how simple of a fix that one problem was... Undecided
I'm really surprised that Unity didn't throw an error. The #endif in OnTriggerStay() needs to be moved down a line below the } of the if statement that it's surrounding.

I also ran across a few places where the #if UNITY_PRO_LICENSE needs to be applied for the LOSZone and want to tweak the code that sets the symbols for SCPRadio and SCPMorse. I should have an update submitted to Unity within the hour.

However, if you want, I can send you the updated code via PM if you don't want to wait on Unity.

Pain is indeed a flavour, so pour on that hot sauce!
Visit this user's website Find all posts by this user
Quote this message in a reply
01-31-2016, 01:39 AM
Post: #4
RE: Non unity-pro related errors
(01-30-2016 08:26 AM)William Wrote:  Hi!
After loading up SCP in an empty project and trying to launch the example scene these are the errors I get:
https://a.pomf.cat/vcgllb.png
They seem to be related to the "#if UNITY_PRO_LICENSE" parts, because when I delete those parts it seems to run.

Fixed and submitted for review. I had just posted a 1.1.1 version for review last night, and the Asset Store interface didn't give me a re-open option. I went ahead and submitted using the same version number, so I hope that it cancels the previous one out.

Either way, I can PM you the fixes if you want them sooner.

Pain is indeed a flavour, so pour on that hot sauce!
Visit this user's website Find all posts by this user
Quote this message in a reply
01-31-2016, 02:16 AM
Post: #5
RE: Non unity-pro related errors
Thanks for the quick reply and fix. Smile I'd appreciate if you could send the updated radio.cs even if I managed to get it running by deleting some of the unity pro lines.
Find all posts by this user
Quote this message in a reply
Post Reply 


Forum Jump:


User(s) browsing this thread: 1 Guest(s)